[]
Returns whether this converter can convert an object of one type to the type of this converter.
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
| Type | Name | Description |
|---|---|---|
| ITypeDescriptorContext | context | An ITypeDescriptorContext that provides a format context. |
| Type | sourceType | A Type that represents the type from which to convert. |
| Type | Description |
|---|---|
| bool | True if the conversion can be performed; false otherwise. |