Share via


QuaternionConverter.ConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

Converts the given value object to the specified type, using the specified context and culture information.

Syntax

'Declaration
Public Overrides Function ConvertTo ( _
         context As ITypeDescriptorContext, _
         culture As CultureInfo, _
         value As Object, _
         destinationType As Type _
) As Object 
public override Object ConvertTo (
         ITypeDescriptorContext context,
         CultureInfo culture,
         Object value,
         Type destinationType
)
public:
Object ConvertTo(
         ITypeDescriptorContext context,
         CultureInfo culture,
         Object value,
         Type destinationType
) override

Parameters

Return Value

Type: Object
The converted value.

Exceptions

Exception type Condition
ArgumentNullException destinationType is null.

Requirements

Namespace: Microsoft.Xna.Framework.Design

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

See Also

Reference

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

Platforms

Windows Phone