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
typeTypeType.
toStringbool?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.
cultureCultureInfoOptional CultureInfo object used to create TypeConverter instance.