public CanConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
sourceType | ||
Résultat | bool |
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{
return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
}