[]
Determines if the data type of the cell range can be converted from the specified source data.
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Public Overrides Function CanConvertFrom(context As ITypeDescriptorContext, sourceType As Type) As Boolean
Type | Name | Description |
---|---|---|
ITypeDescriptorContext | context | Data type descriptor context |
Type | sourceType | Source data type |
Type | Description |
---|---|
bool | true if this converter can perform the conversion; otherwise, false. |