Dela via


RayConverter.CreateInstance Method (ITypeDescriptorContext, IDictionary)

Note

This method is available only when developing for Windows.

Creates an instance of the type that this RayConverter 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

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

Platforms

Windows XP SP2, Windows Vista