UInt24.Parse Method
Overloads
| Name | Description |
|---|---|
| Parse(String, IFormatProvider) | Parses a string into a value. |
| Parse(String, NumberStyles, IFormatProvider) | Parses a string into a value. |
| Parse(ReadOnlySpan<Char>, IFormatProvider) | Parses a span of characters into a value. |
| Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider) | Parses a span of characters into a value. |
| Parse(ReadOnlySpan<Byte>, IFormatProvider) | Parses a span of UTF-8 characters into a value. |
| Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider) | Parses a span of UTF-8 characters into a value. |
Parse(String, IFormatProvider)
Parses a string into a value.
public static UInt24 Parse(string s, IFormatProvider? provider);
Parameters
| Name | Type | Description |
|---|---|---|
| s | String | The string to parse. |
| provider | IFormatProvider | An object that provides culture-specific formatting information about s. |
Returns
The result of parsing s.
Parse(String, NumberStyles, IFormatProvider)
Parses a string into a value.
public static UInt24 Parse(string s, NumberStyles style, IFormatProvider? provider);
Parameters
| Name | Type | Description |
|---|---|---|
| s | String | The string to parse. |
| style | NumberStyles | A bitwise combination of number styles that can be present in s. |
| provider | IFormatProvider | An object that provides culture-specific formatting information about s. |
Returns
The result of parsing s.
Parse(ReadOnlySpan<Char>, IFormatProvider)
Parses a span of characters into a value.
public static UInt24 Parse(ReadOnlySpan<char> s, IFormatProvider? provider);
Parameters
| Name | Type | Description |
|---|---|---|
| s | ReadOnlySpan<Char> | The span of characters to parse. |
| provider | IFormatProvider | An object that provides culture-specific formatting information about s. |
Returns
The result of parsing s.
Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)
Parses a span of characters into a value.
public static UInt24 Parse(ReadOnlySpan<char> s, NumberStyles style, IFormatProvider? provider);
Parameters
| Name | Type | Description |
|---|---|---|
| s | ReadOnlySpan<Char> | The span of characters to parse. |
| style | NumberStyles | A bitwise combination of number styles that can be present in s. |
| provider | IFormatProvider | An object that provides culture-specific formatting information about s. |
Returns
The result of parsing s.
Parse(ReadOnlySpan<Byte>, IFormatProvider)
Parses a span of UTF-8 characters into a value.
public static UInt24 Parse(ReadOnlySpan<Byte> utf8Text, IFormatProvider? provider);
Parameters
| Name | Type | Description |
|---|---|---|
| utf8Text | ReadOnlySpan<Byte> | The span of UTF-8 characters to parse. |
| provider | IFormatProvider | An object that provides culture-specific formatting information about utf8Text. |
Returns
The result of parsing utf8Text.
Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)
Parses a span of UTF-8 characters into a value.
public static UInt24 Parse(ReadOnlySpan<Byte> utf8Text, NumberStyles style, IFormatProvider? provider);
Parameters
| Name | Type | Description |
|---|---|---|
| utf8Text | ReadOnlySpan<Byte> | The span of UTF-8 characters to parse. |
| style | NumberStyles | A bitwise combination of number styles that can be present in utf8Text. |
| provider | IFormatProvider | An object that provides culture-specific formatting information about utf8Text. |
Returns
The result of parsing utf8Text.