private ConvertTo ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
culture | ||
value | object | |
destinationType | ||
return | object |
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
if (destinationType == typeof(string))
{
return "";
}
return base.ConvertTo(context, culture, value, destinationType);
}
}