RectangleConverter.CreateInstance Method (ITypeDescriptorContext, IDictionary)
Creates an instance of the type that this RectangleConverter is associated with, using the specified context, given a set of property values for the object.
Syntax
'Declaration
Public Overrides Function CreateInstance ( _
context As ITypeDescriptorContext, _
propertyValues As IDictionary _
) As Object
public override Object CreateInstance (
ITypeDescriptorContext context,
IDictionary propertyValues
)
public:
Object CreateInstance(
ITypeDescriptorContext context,
IDictionary propertyValues
) override
Parameters
- context
Type: ITypeDescriptorContext
The format context. - propertyValues
Type: IDictionary
The new property values.
Return Value
Type: Object
An object representing propertyValues, or null if the object cannot be created.
Requirements
Namespace: Microsoft.Xna.Framework.Design
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
RectangleConverter Class
RectangleConverter Members
Microsoft.Xna.Framework.Design Namespace
Platforms
Windows Phone