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