Redigera

Dela via


INumberBase<TSelf>.IUtf8SpanParsable<TSelf>.Parse Method

Definition

Parses a span of UTF-8 characters into a value.

 static TSelf System.IUtf8SpanParsable<TSelf>.Parse(ReadOnlySpan<System::Byte> utf8Text, IFormatProvider ^ provider) = IUtf8SpanParsable<TSelf>::Parse;
static TSelf IUtf8SpanParsable<TSelf>.Parse (ReadOnlySpan<byte> utf8Text, IFormatProvider provider);
static member System.IUtf8SpanParsable<TSelf>.Parse : ReadOnlySpan<byte> * IFormatProvider -> 'Self
 Shared Function Parse (utf8Text As ReadOnlySpan(Of Byte), provider As IFormatProvider) As TSelf Implements IUtf8SpanParsable(Of TSelf).Parse

Parameters

utf8Text
ReadOnlySpan<Byte>

The span of UTF-8 characters to parse.

provider
IFormatProvider

An object that provides culture-specific formatting information about utf8Text.

Returns

TSelf

The result of parsing utf8Text.

Implements

Applies to