String.ISpanParsable<String>.TryParse 메서드

정의

문자 범위를 값으로 구문 분석하려고 시도합니다.

 static bool System.ISpanParsable<System.String>.TryParse(ReadOnlySpan<char> s, IFormatProvider ^ provider, [Runtime::InteropServices::Out] System::String ^ % result) = ISpanParsable<System::String ^>::TryParse;
static bool ISpanParsable<string>.TryParse(ReadOnlySpan<char> s, IFormatProvider provider, out string result);
static member System.ISpanParsable<System.String>.TryParse : ReadOnlySpan<char> * IFormatProvider * string -> bool
 Shared Function TryParse (s As ReadOnlySpan(Of Char), provider As IFormatProvider, ByRef result As String) As Boolean Implements ISpanParsable(Of String).TryParse

매개 변수

s
ReadOnlySpan<Char>

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

provider
IFormatProvider

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

result
String

이 메서드가 반환될 때 성공적으로 구문 분석 s한 결과 또는 실패 시 정의되지 않은 값이 포함됩니다.

반품

성공적으로 구문 분석되었으면 .

적용 대상