Version

ValidateEditItem Method (SummarySettings.ColumnsListUITypeEditor)

Validates an item selected by the user on the list and returns it.
Syntax
'Declaration
 
Protected Overrides 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
An ITypeDescriptorContext that can be used to gain additional context information.
provider
An IServiceProvider that this editor can use to obtain services.
value
The object to edit.
selectedEntry
The currently selected entry.

Return Value

The validated entry.
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