Version

GetListItems Method

Returns the set of items to show on the list.
Syntax
'Declaration
 
Protected Overrides NotOverridable Function GetListItems( _
   ByVal context As ITypeDescriptorContext, _
   ByVal provider As IServiceProvider, _
   ByVal value As Object, _
   ByRef currentEntry As Object _
) As Object()
protected override object[] GetListItems( 
   ITypeDescriptorContext context,
   IServiceProvider provider,
   object value,
   ref object currentEntry
)

Parameters

context
ITypeDescriptorContext
provider
IServiceProvider
value
Original value
currentEntry
Default item to select

Return Value

The list of items used to populate the list.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also