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.

public:
 static UInt128 Parse(System::String ^ s);
public static UInt128 Parse (string s);
static member Parse : string -> UInt128
Public Shared Function Parse (s As String) As UInt128

Parameters

s
String

A string containing a number to parse.

Returns

The result of parsing s.

Applies to

Parse(ReadOnlySpan<Byte>, IFormatProvider)

Source:
UInt128.cs
Source:
UInt128.cs

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

public:
 static UInt128 Parse(ReadOnlySpan<System::Byte> utf8Text, IFormatProvider ^ provider) = IUtf8SpanParsable<UInt128>::Parse;
public static UInt128 Parse (ReadOnlySpan<byte> utf8Text, IFormatProvider? provider);
static member Parse : ReadOnlySpan<byte> * IFormatProvider -> UInt128
Public Shared Function Parse (utf8Text As ReadOnlySpan(Of Byte), provider As IFormatProvider) As UInt128

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

Parse(ReadOnlySpan<Char>, IFormatProvider)

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

Parses a span of characters into a value.

public:
 static UInt128 Parse(ReadOnlySpan<char> s, IFormatProvider ^ provider) = ISpanParsable<UInt128>::Parse;
public static UInt128 Parse (ReadOnlySpan<char> s, IFormatProvider? provider);
static member Parse : ReadOnlySpan<char> * IFormatProvider -> UInt128
Public Shared Function Parse (s As ReadOnlySpan(Of Char), provider As IFormatProvider) As UInt128

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

Parse(String, NumberStyles)

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

Parses a string into a value.

public:
 static UInt128 Parse(System::String ^ s, System::Globalization::NumberStyles style);
public static UInt128 Parse (string s, System.Globalization.NumberStyles style);
static member Parse : string * System.Globalization.NumberStyles -> UInt128
Public Shared Function Parse (s As String, style As NumberStyles) As UInt128

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

Parse(String, IFormatProvider)

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

Parses a string into a value.

public:
 static UInt128 Parse(System::String ^ s, IFormatProvider ^ provider) = IParsable<UInt128>::Parse;
public static UInt128 Parse (string s, IFormatProvider? provider);
static member Parse : string * IFormatProvider -> UInt128
Public Shared Function Parse (s As String, provider As IFormatProvider) As UInt128

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

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

Source:
UInt128.cs
Source:
UInt128.cs

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

public static UInt128 Parse (ReadOnlySpan<byte> utf8Text, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, IFormatProvider? provider = default);
static member Parse : ReadOnlySpan<byte> * System.Globalization.NumberStyles * IFormatProvider -> UInt128
Public Shared Function Parse (utf8Text As ReadOnlySpan(Of Byte), Optional style As NumberStyles = System.Globalization.NumberStyles.Integer, Optional provider As IFormatProvider = Nothing) As UInt128

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

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

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

Parses a span of characters into a value.

public static UInt128 Parse (ReadOnlySpan<char> s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.Integer, IFormatProvider? provider = default);
static member Parse : ReadOnlySpan<char> * System.Globalization.NumberStyles * IFormatProvider -> UInt128
Public Shared Function Parse (s As ReadOnlySpan(Of Char), Optional style As NumberStyles = System.Globalization.NumberStyles.Integer, Optional provider As IFormatProvider = Nothing) As UInt128

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

Parse(String, NumberStyles, IFormatProvider)

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

Parses a string into a value.

public:
 static UInt128 Parse(System::String ^ s, System::Globalization::NumberStyles style, IFormatProvider ^ provider) = System::Numerics::INumberBase<UInt128>::Parse;
public static UInt128 Parse (string s, System.Globalization.NumberStyles style, IFormatProvider? provider);
static member Parse : string * System.Globalization.NumberStyles * IFormatProvider -> UInt128
Public Shared Function Parse (s As String, style As NumberStyles, provider As IFormatProvider) As UInt128

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