Identify the purpose of this method.
internal static object ConvertFrom(PropertyInfo pi, string value)
{
TypeConverter tc = TypeDescriptor.GetConverter(pi.PropertyType);
if (tc.CanConvertFrom(typeof(string)))
return tc.ConvertFrom(value);
else
return null; }
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment