public ConvertFrom ( ITypeDescriptorContext context, |
||
context | ITypeDescriptorContext | |
culture | ||
value | object | |
Résultat | object |
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
{
var s = value as string;
return s != null ? IPAddress.Parse(s) : base.ConvertFrom(context, culture, value);
}