IUtf8SpanParsable<TSelf> 接口 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义将 UTF-8 字符范围分析为值的机制。
generic <typename TSelf>
 where TSelf : IUtf8SpanParsable<TSelf>public interface class IUtf8SpanParsablepublic interface IUtf8SpanParsable<TSelf> where TSelf : IUtf8SpanParsable<TSelf>type IUtf8SpanParsable<'Self (requires 'Self :> IUtf8SpanParsable<'Self>)> = interfacePublic Interface IUtf8SpanParsable(Of TSelf)类型参数
- TSelf
实现此接口的类型。
- 派生
方法
| Parse(ReadOnlySpan<Byte>, IFormatProvider) | 将 UTF-8 字符范围分析为值。 | 
| TryParse(ReadOnlySpan<Byte>, IFormatProvider, TSelf) | 尝试将 UTF-8 字符范围解析为值。 |