Skip to content

UInt24.Parse Method ​

Overloads ​

NameDescription
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.

c#
public static UInt24 Parse(string s, IFormatProvider? provider);

View source

Parameters ​

NameTypeDescription
sStringThe string to parse.
providerIFormatProviderAn object that provides culture-specific formatting information about s.

Returns ​

UInt24

The result of parsing s.

Parse(String, NumberStyles, IFormatProvider) ​

Parses a string into a value.

c#
public static UInt24 Parse(string s, NumberStyles style, IFormatProvider? provider);

View source

Parameters ​

NameTypeDescription
sStringThe string to parse.
styleNumberStylesA bitwise combination of number styles that can be present in s.
providerIFormatProviderAn object that provides culture-specific formatting information about s.

Returns ​

UInt24

The result of parsing s.

Parse(ReadOnlySpan<Char>, IFormatProvider) ​

Parses a span of characters into a value.

c#
public static UInt24 Parse(ReadOnlySpan<char> s, IFormatProvider? provider);

View source

Parameters ​

NameTypeDescription
sReadOnlySpan<Char>The span of characters to parse.
providerIFormatProviderAn object that provides culture-specific formatting information about s.

Returns ​

UInt24

The result of parsing s.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider) ​

Parses a span of characters into a value.

c#
public static UInt24 Parse(ReadOnlySpan<char> s, NumberStyles style, IFormatProvider? provider);

View source

Parameters ​

NameTypeDescription
sReadOnlySpan<Char>The span of characters to parse.
styleNumberStylesA bitwise combination of number styles that can be present in s.
providerIFormatProviderAn object that provides culture-specific formatting information about s.

Returns ​

UInt24

The result of parsing s.

Parse(ReadOnlySpan<Byte>, IFormatProvider) ​

Parses a span of UTF-8 characters into a value.

c#
public static UInt24 Parse(ReadOnlySpan<Byte> utf8Text, IFormatProvider? provider);

View source

Parameters ​

NameTypeDescription
utf8TextReadOnlySpan<Byte>The span of UTF-8 characters to parse.
providerIFormatProviderAn object that provides culture-specific formatting information about utf8Text.

Returns ​

UInt24

The result of parsing utf8Text.

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider) ​

Parses a span of UTF-8 characters into a value.

c#
public static UInt24 Parse(ReadOnlySpan<Byte> utf8Text, NumberStyles style, IFormatProvider? provider);

View source

Parameters ​

NameTypeDescription
utf8TextReadOnlySpan<Byte>The span of UTF-8 characters to parse.
styleNumberStylesA bitwise combination of number styles that can be present in utf8Text.
providerIFormatProviderAn object that provides culture-specific formatting information about utf8Text.

Returns ​

UInt24

The result of parsing utf8Text.