Язык

UInt16.TryParsePartial Метод

Определение

Перегрузки

TryParsePartial(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, UInt16, Int32)

Исходный код:
UInt16.cs
public:
 static bool TryParsePartial(ReadOnlySpan<System::Byte> utf8Text, System::Globalization::NumberStyles style, IFormatProvider ^ provider, [Runtime::InteropServices::Out] System::UInt16 % result, [Runtime::InteropServices::Out] int % bytesConsumed) = System::Numerics::INumberBase<System::UInt16>::TryParsePartial;
public static bool TryParsePartial(ReadOnlySpan<byte> utf8Text, System.Globalization.NumberStyles style, IFormatProvider? provider, out ushort result, out int bytesConsumed);
static member TryParsePartial : ReadOnlySpan<byte> * System.Globalization.NumberStyles * IFormatProvider * uint16 * int -> bool
Public Shared Function TryParsePartial (utf8Text As ReadOnlySpan(Of Byte), style As NumberStyles, provider As IFormatProvider, ByRef result As UShort, ByRef bytesConsumed As Integer) As Boolean

Параметры

utf8Text
ReadOnlySpan<Byte>
style
NumberStyles
provider
IFormatProvider
result
UInt16
bytesConsumed
Int32

Возвращаемое значение

Применяется к

TryParsePartial(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, UInt16, Int32)

Исходный код:
UInt16.cs
public:
 static bool TryParsePartial(ReadOnlySpan<char> s, System::Globalization::NumberStyles style, IFormatProvider ^ provider, [Runtime::InteropServices::Out] System::UInt16 % result, [Runtime::InteropServices::Out] int % charsConsumed) = System::Numerics::INumberBase<System::UInt16>::TryParsePartial;
public static bool TryParsePartial(ReadOnlySpan<char> s, System.Globalization.NumberStyles style, IFormatProvider? provider, out ushort result, out int charsConsumed);
static member TryParsePartial : ReadOnlySpan<char> * System.Globalization.NumberStyles * IFormatProvider * uint16 * int -> bool
Public Shared Function TryParsePartial (s As ReadOnlySpan(Of Char), style As NumberStyles, provider As IFormatProvider, ByRef result As UShort, ByRef charsConsumed As Integer) As Boolean

Параметры

style
NumberStyles
provider
IFormatProvider
result
UInt16
charsConsumed
Int32

Возвращаемое значение

Применяется к

TryParsePartial(String, NumberStyles, IFormatProvider, UInt16, Int32)

Исходный код:
UInt16.cs
public:
 static bool TryParsePartial(System::String ^ s, System::Globalization::NumberStyles style, IFormatProvider ^ provider, [Runtime::InteropServices::Out] System::UInt16 % result, [Runtime::InteropServices::Out] int % charsConsumed) = System::Numerics::INumberBase<System::UInt16>::TryParsePartial;
public static bool TryParsePartial(string? s, System.Globalization.NumberStyles style, IFormatProvider? provider, out ushort result, out int charsConsumed);
static member TryParsePartial : string * System.Globalization.NumberStyles * IFormatProvider * uint16 * int -> bool
Public Shared Function TryParsePartial (s As String, style As NumberStyles, provider As IFormatProvider, ByRef result As UShort, ByRef charsConsumed As Integer) As Boolean

Параметры

s
String
style
NumberStyles
provider
IFormatProvider
result
UInt16
charsConsumed
Int32

Возвращаемое значение

Применяется к