String.ISpanParsable<String>.TryParse 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
static bool System.ISpanParsable<System.String>.TryParse(ReadOnlySpan<char> s, IFormatProvider ^ provider, [Runtime::InteropServices::Out] System::String ^ % result) = ISpanParsable<System::String ^>::TryParse;
static bool ISpanParsable<string>.TryParse (ReadOnlySpan<char> s, IFormatProvider provider, out string result);
static member System.ISpanParsable<System.String>.TryParse : ReadOnlySpan<char> * IFormatProvider * string -> bool
Shared Function TryParse (s As ReadOnlySpan(Of Char), provider As IFormatProvider, ByRef result As String) As Boolean Implements ISpanParsable(Of String).TryParse
参数
- s
- ReadOnlySpan<Char>
- provider
- IFormatProvider
- result
- String