Method GetTypeConverter
GetTypeConverter(Type, bool?, CultureInfo?)
Gets TypeConverter object for the specified type.
public virtual TypeConverter? GetTypeConverter(Type type, bool? toString = true, CultureInfo? culture = null)
Parameters
type
TypeType.
toString
bool?Whether conversion is from object to string. If not Null, type converter is quieried whether it can convert to/from string. If Null, no such check is performed.
culture
CultureInfoOptional CultureInfo object used to create TypeConverter instance.