UriTypeConverter.CanConvertTo Method (ITypeDescriptorContext, Type)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns whether this converter can convert the object to the specified type, using the specified context.
Assembly: System (in System.dll)
Parameters
- context
- Type: System.ComponentModel.ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
- destinationType
- Type: System.Type
A Type that represents the type that you want to convert to.
Return Value
Type: System.BooleanA Boolean value that is true if destinationType is of type String, or Uri; otherwise, false.
Show: