Jazyk

INumberBase<TSelf>.IUtf8SpanParsable<TSelf>.TryParse Metoda

Definice

Pokusí se analyzovat rozsah znaků UTF-8 do hodnoty.

 static bool System.IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<System::Byte> utf8Text, IFormatProvider ^ provider, [Runtime::InteropServices::Out] TSelf % result) = IUtf8SpanParsable<TSelf>::TryParse;
static bool IUtf8SpanParsable<TSelf>.TryParse(ReadOnlySpan<byte> utf8Text, IFormatProvider provider, out TSelf result);
static member System.IUtf8SpanParsable<TSelf>.TryParse : ReadOnlySpan<byte> * IFormatProvider * 'Self -> bool
 Shared Function TryParse (utf8Text As ReadOnlySpan(Of Byte), provider As IFormatProvider, ByRef result As TSelf) As Boolean Implements IUtf8SpanParsable(Of TSelf).TryParse

Parametry

utf8Text
ReadOnlySpan<Byte>

Rozsah znaků UTF-8 pro analýzu.

provider
IFormatProvider

Objekt, který poskytuje informace o utf8Textformátování specifické pro jazykovou verzi .

result
TSelf

Při vrácení obsahuje výsledek úspěšné utf8Text analýzy nebo nedefinovanou hodnotu selhání.

Návraty

true pokud utf8Text byl úspěšně analyzován; jinak , false.

Implementuje

Platí pro