INumberBase<TSelf>.Parse 메서드

정의

오버로드

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

UTF-8자의 범위를 값으로 구문 분석합니다.

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

문자 범위를 값으로 구문 분석합니다.

Parse(String, NumberStyles, IFormatProvider)

문자열을 값으로 구문 분석합니다.

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

Source:
INumberBase.cs
Source:
INumberBase.cs

UTF-8자의 범위를 값으로 구문 분석합니다.

public:
 static override TSelf Parse(ReadOnlySpan<System::Byte> utf8Text, System::Globalization::NumberStyles style, IFormatProvider ^ provider);
public static virtual TSelf Parse (ReadOnlySpan<byte> utf8Text, System.Globalization.NumberStyles style, IFormatProvider? provider);
static member Parse : ReadOnlySpan<byte> * System.Globalization.NumberStyles * IFormatProvider -> 'Self
Public Shared Overrides Function Parse (utf8Text As ReadOnlySpan(Of Byte), style As NumberStyles, provider As IFormatProvider) As TSelf

매개 변수

utf8Text
ReadOnlySpan<Byte>

구문 분석할 UTF-8자의 범위입니다.

style
NumberStyles

utf8Text있을 수 있는 숫자 스타일의 비트 조합입니다.

provider
IFormatProvider

utf8Text에 대한 문화권별 서식 정보를 제공하는 개체입니다.

반환

TSelf

구문 분석의 결과입니다 utf8Text.

예외

style 가 지원되는 NumberStyles 값이 아닙니다.

utf8Text가 올바른 형식이 아닙니다.

utf8Text 가 로 TSelf나타낼 수 없습니다.

적용 대상

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Source:
INumberBase.cs
Source:
INumberBase.cs
Source:
INumberBase.cs

문자 범위를 값으로 구문 분석합니다.

public:
 static TSelf Parse(ReadOnlySpan<char> s, System::Globalization::NumberStyles style, IFormatProvider ^ provider);
public static abstract TSelf Parse (ReadOnlySpan<char> s, System.Globalization.NumberStyles style, IFormatProvider? provider);
static member Parse : ReadOnlySpan<char> * System.Globalization.NumberStyles * IFormatProvider -> 'Self
Public Shared Function Parse (s As ReadOnlySpan(Of Char), style As NumberStyles, provider As IFormatProvider) As TSelf

매개 변수

s
ReadOnlySpan<Char>

구문 분석할 문자의 범위입니다.

style
NumberStyles

s있을 수 있는 숫자 스타일의 비트 조합입니다.

provider
IFormatProvider

s에 대한 문화권별 서식 정보를 제공하는 개체입니다.

반환

TSelf

구문 분석의 결과입니다 s.

예외

style 가 지원되는 NumberStyles 값이 아닙니다.

s가 올바른 형식이 아닙니다.

s 가 로 TSelf나타낼 수 없습니다.

적용 대상

Parse(String, NumberStyles, IFormatProvider)

Source:
INumberBase.cs
Source:
INumberBase.cs
Source:
INumberBase.cs

문자열을 값으로 구문 분석합니다.

public:
 static TSelf Parse(System::String ^ s, System::Globalization::NumberStyles style, IFormatProvider ^ provider);
public static abstract TSelf Parse (string s, System.Globalization.NumberStyles style, IFormatProvider? provider);
static member Parse : string * System.Globalization.NumberStyles * IFormatProvider -> 'Self
Public Shared Function Parse (s As String, style As NumberStyles, provider As IFormatProvider) As TSelf

매개 변수

s
String

구문 분석할 문자열입니다.

style
NumberStyles

s있을 수 있는 숫자 스타일의 비트 조합입니다.

provider
IFormatProvider

s에 대한 문화권별 서식 정보를 제공하는 개체입니다.

반환

TSelf

구문 분석의 결과입니다 s.

예외

style 가 지원되는 NumberStyles 값이 아닙니다.

s이(가) null인 경우

s가 올바른 형식이 아닙니다.

s 가 로 TSelf나타낼 수 없습니다.

적용 대상