RectangleConverter..::..CreateInstance Method

Creates an instance of the type that this TypeConverter is associated with, using the specified context, given a set of property values for the object.

Namespace:  Squid
Assembly:  Squid.Core (in Squid.Core.dll)

Syntax


public Object CreateInstance(
	ITypeDescriptorContext context,
	IDictionary propertyValues
)
Public Function CreateInstance ( _
	context As ITypeDescriptorContext, _
	propertyValues As IDictionary _
) As Object
public:
Object^ CreateInstance(
	ITypeDescriptorContext^ context, 
	IDictionary^ propertyValues
)

Parameters

context
Type: ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
propertyValues
Type: IDictionary
An IDictionary of new property values.

Return Value

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

Exceptions


ExceptionCondition
[System.ArgumentNullException] context or propertyValues