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 ITypeDescriptorContext, _
   ByVal propertyValues As IDictionary _
) As Object
public override object CreateInstance( 
   ITypeDescriptorContext context,
   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 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