Version

CreateInstance(ITypeDescriptorContext,IDictionary) Method

Creates an instance of the type that this System.ComponentModel.TypeConverter is associated with, using the specified context, given a set of property values for the object.
Syntax
'Declaration
 
Public Overloads Overrides Function CreateInstance( _
   ByVal context As System.ComponentModel.ITypeDescriptorContext, _
   ByVal propertyValues As System.Collections.IDictionary _
) As System.Object
public override System.object CreateInstance( 
   System.ComponentModel.ITypeDescriptorContext context,
   System.Collections.IDictionary propertyValues
)

Parameters

context
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
propertyValues
An System.Collections.IDictionary of new property values.

Return Value

An System.Object representing the given System.Collections.IDictionary, or null if the object cannot be created. This method always returns null.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, 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

View on GitHub