Partilhar via


Vector2Converter.CreateInstance Method (ITypeDescriptorContext, IDictionary)

Note

This method is available only when developing for Windows.

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

Namespace: Microsoft.Xna.Framework.Design
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public override Object CreateInstance (
         ITypeDescriptorContext context,
         IDictionary propertyValues
)

Parameters

  • context
    The format context.
  • propertyValues
    The new property values.

Return Value

An object representing propertyValues, or null if the object cannot be created.

See Also

Reference

Vector2Converter Class
Vector2Converter Members
Microsoft.Xna.Framework.Design Namespace

Platforms

Windows XP SP2, Windows Vista