StringExtensionsTryParse Method

Overload List

TryParse(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.
TryParse(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.
TryParseT(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.
TryParseT(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.

See Also