Version

GetListItems Method (MaskUITypeEditor)

Returns the set of items to show on the list.
Syntax
'Declaration
 
Protected Overrides 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
An System.ComponentModel.ITypeDescriptorContext that can be used to gain additional context information.
provider
An System.IServiceProvider that this editor can use to obtain services.
value
The object to edit.
currentEntry
The current entry in the list.

Return Value

An array of objects containing the list items.
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