[]
Returns whether the specified type can be converted to a cell type object.
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 | Type descriptor context |
Type | sourceType | Type |
Type | Description |
---|---|
bool | True if sourceType is string; otherwise, false. |