IUtf8SpanParsable<TSelf>.Parse Metoda

Definicja

Analizuje zakres znaków UTF-8 w wartości.

public:
 static TSelf Parse(ReadOnlySpan<System::Byte> utf8Text, IFormatProvider ^ provider);
public static abstract TSelf Parse (ReadOnlySpan<byte> utf8Text, IFormatProvider? provider);
static member Parse : ReadOnlySpan<byte> * IFormatProvider -> 'Self
Public Shared Function Parse (utf8Text As ReadOnlySpan(Of Byte), provider As IFormatProvider) As TSelf

Parametry

utf8Text
ReadOnlySpan<Byte>

Zakres znaków UTF-8 do analizy.

provider
IFormatProvider

Obiekt, który udostępnia informacje o formatowaniu specyficznym dla kultury.utf8Text

Zwraca

TSelf

Wynik analizy utf8Text.

Wyjątki

utf8Text nie ma poprawnego formatu.

utf8Text element nie jest reprezentowany przez element TSelf.

Dotyczy