[This is preliminary documentation and is subject to change.]
Determines whether this converter can convert the object to the
specified type, using the specified context.
Declaration Syntax
C# |
public override bool CanConvertTo( ITypeDescriptorContext context, Type destinationType )
Parameters
- context (ITypeDescriptorContext)
- A ITypeDescriptorContext that provides a format context.
- destinationType (Type)
- A Type that represents the type you want to convert to.
Return Value
True if this converter can perform the conversion, otherwise
false.