Half.Parse 메서드

정의

오버로드

Name Description
Parse(String)

숫자의 문자열 표현을 해당하는 반정밀도 부동 소수점 숫자로 변환합니다.

Parse(ReadOnlySpan<Byte>, IFormatProvider)

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

Parse(ReadOnlySpan<Char>, IFormatProvider)

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

Parse(String, NumberStyles)

지정된 스타일의 숫자 문자열 표현을 해당하는 단정밀도 부동 소수점 숫자로 변환합니다.

Parse(String, IFormatProvider)

지정된 문화권별 형식의 숫자 문자열 표현을 해당하는 단정밀도 부동 소수점 숫자로 변환합니다.

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

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

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

지정된 스타일 및 문화권별 형식의 숫자 문자열 표현을 해당하는 단정밀도 부동 소수점 숫자로 변환합니다.

Parse(String, NumberStyles, IFormatProvider)

지정된 스타일 및 문화권별 형식의 숫자 문자열 표현을 해당하는 단정밀도 부동 소수점 숫자로 변환합니다.

Parse(String)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

숫자의 문자열 표현을 해당하는 반정밀도 부동 소수점 숫자로 변환합니다.

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

매개 변수

s
String

변환할 숫자가 들어 있는 문자열입니다.

반품

에 지정된 숫자 값 또는 기호에 해당하는 반정밀도 부동 소수점 숫자입니다 s.

예외

snull입니다.

s 는 유효한 형식의 숫자를 나타내지 않습니다.

s 는 .보다 MinValue 작거나 큰 MaxValue숫자를 나타냅니다.

적용 대상

Parse(ReadOnlySpan<Byte>, IFormatProvider)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

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

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

매개 변수

utf8Text
ReadOnlySpan<Byte>

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

provider
IFormatProvider

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

반품

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

구현

적용 대상

Parse(ReadOnlySpan<Char>, IFormatProvider)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

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

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

매개 변수

s
ReadOnlySpan<Char>

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

provider
IFormatProvider

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

반품

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

구현

적용 대상

Parse(String, NumberStyles)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

지정된 스타일의 숫자 문자열 표현을 해당하는 단정밀도 부동 소수점 숫자로 변환합니다.

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

매개 변수

s
String

변환할 숫자가 들어 있는 문자열입니다.

style
NumberStyles

에 있을 s수 있는 스타일 요소를 나타내는 열거형 값의 비트 조합입니다.

반품

에 지정된 숫자 값 또는 기호에 해당하는 반정밀도 부동 소수점 숫자입니다 s.

예외

snull입니다.

s 는 유효한 형식의 숫자를 나타내지 않습니다.

s 는 .보다 MinValue 작거나 큰 MaxValue숫자를 나타냅니다.

style가 값이 아닌 경우 NumberStyles

-또는-

NumberStyles 에는 값이 AllowHexSpecifier 포함됩니다.

적용 대상

Parse(String, IFormatProvider)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

지정된 문화권별 형식의 숫자 문자열 표현을 해당하는 단정밀도 부동 소수점 숫자로 변환합니다.

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

매개 변수

s
String

변환할 숫자가 들어 있는 문자열입니다.

provider
IFormatProvider

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

반품

에 지정된 숫자 값 또는 기호에 해당하는 반정밀도 부동 소수점 숫자입니다 s.

구현

예외

snull입니다.

s 는 유효한 형식의 숫자를 나타내지 않습니다.

s 는 .보다 MinValue 작거나 큰 MaxValue숫자를 나타냅니다.

적용 대상

Parse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

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

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

매개 변수

utf8Text
ReadOnlySpan<Byte>

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

style
NumberStyles

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

provider
IFormatProvider

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

반품

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

구현

적용 대상

Parse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

지정된 스타일 및 문화권별 형식의 숫자 문자열 표현을 해당하는 단정밀도 부동 소수점 숫자로 변환합니다.

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

매개 변수

s
ReadOnlySpan<Char>

숫자의 문자열 표현을 해당하는 반정밀도 부동 소수점 숫자로 변환합니다. 반환 값은 변환이 성공했는지 아니면 실패했는지를 나타냅니다.

style
NumberStyles

에 있을 s수 있는 스타일 요소를 나타내는 열거형 값의 비트 조합입니다.

provider
IFormatProvider

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

반품

에 지정된 숫자 값 또는 기호에 해당하는 반정밀도 부동 소수점 숫자입니다 s.

구현

예외

s 는 유효한 형식의 숫자를 나타내지 않습니다.

style가 값이 아닌 경우 NumberStyles

-또는-

NumberStyles 에는 값이 AllowHexSpecifier 포함됩니다.

적용 대상

Parse(String, NumberStyles, IFormatProvider)

Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs
Source:
Half.cs

지정된 스타일 및 문화권별 형식의 숫자 문자열 표현을 해당하는 단정밀도 부동 소수점 숫자로 변환합니다.

public static Half Parse(string s, System.Globalization.NumberStyles style = System.Globalization.NumberStyles.AllowThousands | System.Globalization.NumberStyles.Float, IFormatProvider? provider = default);
static member Parse : string * System.Globalization.NumberStyles * IFormatProvider -> Half
Public Shared Function Parse (s As String, Optional style As NumberStyles = System.Globalization.NumberStyles.AllowThousands | System.Globalization.NumberStyles.Float, Optional provider As IFormatProvider = Nothing) As Half

매개 변수

s
String

변환할 숫자가 들어 있는 문자열입니다.

style
NumberStyles

에 있을 s수 있는 스타일 요소를 나타내는 열거형 값의 비트 조합입니다.

provider
IFormatProvider

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

반품

에 지정된 숫자 값 또는 기호에 해당하는 반정밀도 부동 소수점 숫자입니다 s.

구현

예외

snull입니다.

s 는 유효한 형식의 숫자를 나타내지 않습니다.

s 는 .보다 MinValue 작거나 큰 MaxValue숫자를 나타냅니다.

style가 값이 아닌 경우 NumberStyles

-또는-

NumberStyles 에는 값이 AllowHexSpecifier 포함됩니다.

적용 대상