CanConvertTo Method

TypeConverter.CanConvertTo Method

[ 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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method CanConvertTo(Type) Returns whether the type converter can convert an object to the specified type.
Public method CanConvertTo(ITypeDescriptorContext, Type) Returns whether the type converter can convert an object to the specified type.
Top

Show:
© 2017 Microsoft