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