Partilhar via


QuaternionConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

Note

This method is available only when developing for Windows.

Converts the given object to the type of this converter, using the specified context and culture information.

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

Syntax

public override Object ConvertFrom (
         ITypeDescriptorContext context,
         CultureInfo culture,
         Object value
)

Parameters

  • context
    The format context.
  • culture
    The current culture.
  • value
    The object to convert.

Return Value

The converted value.

Exceptions

Exception type Condition
ArgumentException Invalid string format.

See Also

Reference

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

Platforms

Windows XP SP2, Windows Vista