语言

IPNetwork.IUtf8SpanParsable<IPNetwork>.Parse 方法

定义

将 UTF-8 字符的范围分析为值。

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

参数

utf8Text
ReadOnlySpan<Byte>

要分析的 UTF-8 字符的范围。

provider
IFormatProvider

一个对象,提供有关区域性特定的格式设置信息 utf8Text。

返回

分析 utf8Text的结果。

实现

适用于