MathTypeConverter.CanConvertTo Method (ITypeDescriptorContext, Type)
Note
This method is available only when developing for Windows.
Returns whether this converter can convert an object of one type to the type of this converter.
Namespace: Microsoft.Xna.Framework.Design
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public override bool CanConvertTo (
ITypeDescriptorContext context,
Type destinationType
)
Parameters
- context
The format context. - destinationType
The destination type.
Return Value
true if this converter can perform the conversion; false otherwise.
See Also
Reference
MathTypeConverter Class
MathTypeConverter Members
Microsoft.Xna.Framework.Design Namespace
Platforms
Windows XP SP2, Windows Vista