TypeConverter.CanConvertTo Method (Type)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns whether the type converter can convert an object to the specified type.
Assembly: System (in System.dll)
Parameters
- destinationType
- Type: System.Type
The type you want to convert to.
Return Value
Type: System.Booleantrue if this converter can perform the conversion; otherwise, false.
Notes to Implementers
The base implementation calls the other signature (CanConvertTo(ITypeDescriptorContext, Type)) passing a null context.
Show: