UInt128.Parse Method

Definition

Overloads

Parse(String)

Parses a string into a value.

Parse(ReadOnlySpan<Byte>, IFormatProvider)

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

Parse(ReadOnlySpan<Char>, IFormatProvider)

Parses a span of characters into a value.

Parse(String, NumberStyles)

Parses a string into a value.

Parse(String, IFormatProvider)

Parses a string into a value.

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

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

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Parses a span of characters into a value.

Parse(String, NumberStyles, IFormatProvider)

Parses a string into a value.

Parse(String)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Parses a string into a value.

C#
public static UInt128 Parse(string s);

Parameters

s
String

A string containing a number to parse.

Returns

The result of parsing s.

Applies to

.NET 10 ja muud versioonid
Toode Versioonid
.NET 7, 8, 9, 10

Parse(ReadOnlySpan<Byte>, IFormatProvider)

Source:
UInt128.cs
Source:
UInt128.cs

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

C#
public static UInt128 Parse(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider);

Parameters

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.

Implements

Applies to

.NET 10 ja muud versioonid
Toode Versioonid
.NET 8, 9, 10

Parse(ReadOnlySpan<Char>, IFormatProvider)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Parses a span of characters into a value.

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

Parameters

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.

Implements

Applies to

.NET 10 ja muud versioonid
Toode Versioonid
.NET 7, 8, 9, 10

Parse(String, NumberStyles)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Parses a string into a value.

C#
public static UInt128 Parse(string s, System.Globalization.NumberStyles style);

Parameters

s
String

A string containing a number to parse.

style
NumberStyles

A bitwise combination of number styles that can be present in s.

Returns

The result of parsing s.

Applies to

.NET 10 ja muud versioonid
Toode Versioonid
.NET 7, 8, 9, 10

Parse(String, IFormatProvider)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Parses a string into a value.

C#
public static UInt128 Parse(string s, IFormatProvider? provider);

Parameters

s
String

The string to parse.

provider
IFormatProvider

An object that provides culture-specific formatting information about s.

Returns

The result of parsing s.

Implements

Applies to

.NET 10 ja muud versioonid
Toode Versioonid
.NET 7, 8, 9, 10

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

Source:
UInt128.cs
Source:
UInt128.cs

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

C#
public static UInt128 Parse(ReadOnlySpan<byte> utf8Text, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, IFormatProvider? provider = default);

Parameters

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.

Implements

Applies to

.NET 10 ja muud versioonid
Toode Versioonid
.NET 8, 9, 10

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Parses a span of characters into a value.

C#
public static UInt128 Parse(ReadOnlySpan<char> s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, IFormatProvider? provider = default);

Parameters

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.

Implements

Applies to

.NET 10 ja muud versioonid
Toode Versioonid
.NET 7, 8, 9, 10

Parse(String, NumberStyles, IFormatProvider)

Source:
UInt128.cs
Source:
UInt128.cs
Source:
UInt128.cs

Parses a string into a value.

C#
public static UInt128 Parse(string s, System.Globalization.NumberStyles style, IFormatProvider? provider);

Parameters

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.

Implements

Applies to

.NET 10 ja muud versioonid
Toode Versioonid
.NET 7, 8, 9, 10