Method | Description | |
---|---|---|
TryParse ( string str, decimal &value ) : bool |
Tries to parse a decimal number out of a string using the CultureInfo.InvariantCulture. The method accepts null strings and leading and trailing whitespace.
|
|
TryParse ( string str, double &value ) : bool |
Tries to parse a double-precision floating point number out of a string using the CultureInfo.InvariantCulture. The method accepts null strings and leading and trailing whitespace.
|
|
TryParse ( string str, float &value ) : bool |
Tries to parse a single-precision floating point number out of a string using the CultureInfo.InvariantCulture. The method accepts null strings and leading and trailing whitespace.
|
|
TryParse ( string str, int &value ) : bool |
Tries to parse a 32-bit signed integer out of a string using the same format as the CultureInfo.InvariantCulture. The method accepts null strings and leading and trailing whitespace.
|
|
TryParse ( string str, long &value ) : bool |
Tries to parse a 64-bit signed integer out of a string using the same format as the CultureInfo.InvariantCulture. The method accepts null strings and leading and trailing whitespace.
|
|
TryParse ( string str, uint &value ) : bool |
Tries to parse a 32-bit unsigned integer out of a string using the same format as the CultureInfo.InvariantCulture. The method accepts null strings and leading and trailing whitespace.
|
|
TryParse ( string str, ulong &value ) : bool |
Tries to parse a 64-bit unsigned integer out of a string using the same format as the CultureInfo.InvariantCulture. The method accepts null strings and leading and trailing whitespace.
|
|
TryParseExact ( string str, double &value ) : bool |
Tries to parse a double-precision floating point number out of a string using the same format as the CultureInfo.InvariantCulture. The method accepts null strings but does not accept whitespace.
|
|
TryParseExact ( string str, float &value ) : bool |
Tries to parse a single-precision floating point number out of a string using the same format as the CultureInfo.InvariantCulture. The method accepts null strings but does not accept whitespace.
|
|
TryParseExact ( string str, int &value ) : bool |
Tries to parse a 32-bit signed integer out of a string using the same format as the CultureInfo.InvariantCulture. The method accepts null strings but does not accept whitespace.
|
|
TryParseExact ( string str, long &value ) : bool |
Tries to parse a 64-bit signed integer out of a string using the same format as the CultureInfo.InvariantCulture. The method accepts null strings but does not accept whitespace.
|
|
TryParseExact ( string str, uint &value ) : bool |
Tries to parse a 32-bit unsigned integer out of a string using the same format as the CultureInfo.InvariantCulture. The method accepts null strings but does not accept whitespace.
|
|
TryParseExact ( string str, ulong &value ) : bool |
Tries to parse a 64-bit unsigned integer out of a string using the same format as the CultureInfo.InvariantCulture. The method accepts null strings but does not accept whitespace.
|
public static TryParse ( string str, decimal &value ) : bool | ||
str | string | The input string. |
value | decimal | The parsed value. |
return | bool |
public static TryParse ( string str, double &value ) : bool | ||
str | string | The input string. |
value | double | The parsed value. |
return | bool |
public static TryParse ( string str, float &value ) : bool | ||
str | string | The input string. |
value | float | The parsed value. |
return | bool |
public static TryParse ( string str, int &value ) : bool | ||
str | string | The input string. |
value | int | The parsed value. |
return | bool |
public static TryParse ( string str, long &value ) : bool | ||
str | string | The input string. |
value | long | The parsed value. |
return | bool |
public static TryParse ( string str, uint &value ) : bool | ||
str | string | The input string. |
value | uint | The parsed value. |
return | bool |
public static TryParse ( string str, ulong &value ) : bool | ||
str | string | The input string. |
value | ulong | The parsed value. |
return | bool |
public static TryParseExact ( string str, double &value ) : bool | ||
str | string | The input string. |
value | double | The parsed value. |
return | bool |
public static TryParseExact ( string str, float &value ) : bool | ||
str | string | The input string. |
value | float | The parsed value. |
return | bool |
public static TryParseExact ( string str, int &value ) : bool | ||
str | string | The input string. |
value | int | The parsed value. |
return | bool |
public static TryParseExact ( string str, long &value ) : bool | ||
str | string | The input string. |
value | long | The parsed value. |
return | bool |
public static TryParseExact ( string str, uint &value ) : bool | ||
str | string | The input string. |
value | uint | The parsed value. |
return | bool |
public static TryParseExact ( string str, ulong &value ) : bool | ||
str | string | The input string. |
value | ulong | The parsed value. |
return | bool |