KGy SOFT

StringExtensionsTryParse Method

KGy SOFT Core Libraries Help
Overload List

  NameDescription
Public methodStatic memberTryParseT(String, T)
Tries to parse an object of type T from a string value. Firstly, it tries to parse the type natively. If T cannot be parsed natively but the type has a TypeConverter or a registered conversion that can convert from string, then the type converter or conversion will be used.
See the Remarks section of the ParseT(String, CultureInfo) method for details.
Public methodStatic memberTryParseT(String, CultureInfo, T)
Tries to parse an object of type T from a string value. Firstly, it tries to parse the type natively. If T cannot be parsed natively but the type has a TypeConverter or a registered conversion that can convert from string, then the type converter or conversion will be used.
See the Remarks section of the ParseT(String, CultureInfo) method for details.
Public methodStatic memberTryParse(String, Type, Object)
Tries to parse an object of type type from a string value. Firstly, it tries to parse the type natively. If type cannot be parsed natively but the type has a TypeConverter or a registered conversion that can convert from string, then the type converter or conversion will be used.
See the Remarks section of the ParseT(String, CultureInfo) method for details.
Public methodStatic memberTryParse(String, Type, CultureInfo, Object)
Tries to parse an object of type type from a string value. Firstly, it tries to parse the type natively. If type cannot be parsed natively but the type has a TypeConverter or a registered conversion that can convert from string, then the type converter or conversion will be used.
See the Remarks section of the ParseT(String, CultureInfo) method for details.
Top
See Also

Reference