แก้ไข

แชร์ผ่าน


Int128.Parse Method

Definition

Overloads

Parse(String, NumberStyles, IFormatProvider)

Parses a string into a value.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Parses a span of 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.

Parse(ReadOnlySpan<Char>, IFormatProvider)

Parses a span of characters into a value.

Parse(ReadOnlySpan<Byte>, IFormatProvider)

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

Parse(String)

Parses a string into a value.

Parse(String, NumberStyles)

Parses a string into a value.

Parse(String, NumberStyles, IFormatProvider)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Parses a string into a value.

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

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

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Parses a span of characters into a value.

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

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(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

Source:
Int128.cs
Source:
Int128.cs

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

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

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(String, IFormatProvider)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Parses a string into a value.

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

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<Char>, IFormatProvider)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Parses a span of characters into a value.

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

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(ReadOnlySpan<Byte>, IFormatProvider)

Source:
Int128.cs
Source:
Int128.cs

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

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

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(String)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Parses a string into a value.

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

Parameters

s
String

A string containing a number to parse.

Returns

The result of parsing s.

Applies to

Parse(String, NumberStyles)

Source:
Int128.cs
Source:
Int128.cs
Source:
Int128.cs

Parses a string into a value.

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

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