Editare

Partajați prin


Char.INumberBase<Char>.Parse Method

Definition

Overloads

INumberBase<Char>.Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Parses a span of characters into a value.

INumberBase<Char>.Parse(String, NumberStyles, IFormatProvider)

Parses a string into a value.

INumberBase<Char>.Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Source:
Char.cs
Source:
Char.cs
Source:
Char.cs

Parses a span of characters into a value.

 static char System.Numerics.INumberBase<System.Char>.Parse(ReadOnlySpan<char> s, System::Globalization::NumberStyles style, IFormatProvider ^ provider) = System::Numerics::INumberBase<char>::Parse;
static char INumberBase<char>.Parse (ReadOnlySpan<char> s, System.Globalization.NumberStyles style, IFormatProvider provider);
static member System.Numerics.INumberBase<System.Char>.Parse : ReadOnlySpan<char> * System.Globalization.NumberStyles * IFormatProvider -> char
 Shared Function Parse (s As ReadOnlySpan(Of Char), style As NumberStyles, provider As IFormatProvider) As Char Implements INumberBase(Of Char).Parse

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

INumberBase<Char>.Parse(String, NumberStyles, IFormatProvider)

Source:
Char.cs
Source:
Char.cs
Source:
Char.cs

Parses a string into a value.

 static char System.Numerics.INumberBase<System.Char>.Parse(System::String ^ s, System::Globalization::NumberStyles style, IFormatProvider ^ provider) = System::Numerics::INumberBase<char>::Parse;
static char INumberBase<char>.Parse (string s, System.Globalization.NumberStyles style, IFormatProvider provider);
static member System.Numerics.INumberBase<System.Char>.Parse : string * System.Globalization.NumberStyles * IFormatProvider -> char
 Shared Function Parse (s As String, style As NumberStyles, provider As IFormatProvider) As Char Implements INumberBase(Of Char).Parse

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