Share via


MathTypeConverter.CanConvertTo Method (ITypeDescriptorContext, Type)

Returns whether this converter can convert an object of one type to the type of this converter.

Syntax

'Declaration
Public Overrides Function CanConvertTo ( _
         context As ITypeDescriptorContext, _
         destinationType As Type _
) As Boolean 
public override bool CanConvertTo (
         ITypeDescriptorContext context,
         Type destinationType
)
public:
bool CanConvertTo(
         ITypeDescriptorContext context,
         Type destinationType
) override

Parameters

Return Value

Type: Boolean
true if this converter can perform the conversion; false otherwise.

Requirements

Namespace: Microsoft.Xna.Framework.Design

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

See Also

Reference

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

Platforms

Windows Phone