Version

ValidateEditItem Method

Validates an item selected by the user on the list and returns it.
Syntax
'Declaration
 
Protected Overrides NotOverridable Function ValidateEditItem( _
   ByVal context As ITypeDescriptorContext, _
   ByVal provider As IServiceProvider, _
   ByVal value As Object, _
   ByVal selectedEntry As Object _
) As Object
protected override object ValidateEditItem( 
   ITypeDescriptorContext context,
   IServiceProvider provider,
   object value,
   object selectedEntry
)

Parameters

context
ITypeDescriptorContext
provider
IServiceProvider
value
Original value
selectedEntry
Selected item from the list

Return Value

The new value to return
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