Decimal64.TryParsePartial Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
TryParsePartial(String, NumberStyles, IFormatProvider, Decimal64, Int32)
- Исходный код:
- Decimal64.cs
public:
static bool TryParsePartial(System::String ^ s, System::Globalization::NumberStyles style, IFormatProvider ^ provider, [Runtime::InteropServices::Out] System::Numerics::Decimal64 % result, [Runtime::InteropServices::Out] int % charsConsumed) = System::Numerics::INumberBase<System::Numerics::Decimal64>::TryParsePartial;
public static bool TryParsePartial(string? s, System.Globalization.NumberStyles style, IFormatProvider? provider, out System.Numerics.Decimal64 result, out int charsConsumed);
static member TryParsePartial : string * System.Globalization.NumberStyles * IFormatProvider * Decimal64 * int -> bool
Public Shared Function TryParsePartial (s As String, style As NumberStyles, provider As IFormatProvider, ByRef result As Decimal64, ByRef charsConsumed As Integer) As Boolean
Параметры
- s
- String
- style
- NumberStyles
- provider
- IFormatProvider
- result
- Decimal64
- charsConsumed
- Int32
Возвращаемое значение
Применяется к
TryParsePartial(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, Decimal64, Int32)
- Исходный код:
- Decimal64.cs
public:
static bool TryParsePartial(ReadOnlySpan<char> s, System::Globalization::NumberStyles style, IFormatProvider ^ provider, [Runtime::InteropServices::Out] System::Numerics::Decimal64 % result, [Runtime::InteropServices::Out] int % charsConsumed) = System::Numerics::INumberBase<System::Numerics::Decimal64>::TryParsePartial;
public static bool TryParsePartial(ReadOnlySpan<char> s, System.Globalization.NumberStyles style, IFormatProvider? provider, out System.Numerics.Decimal64 result, out int charsConsumed);
static member TryParsePartial : ReadOnlySpan<char> * System.Globalization.NumberStyles * IFormatProvider * Decimal64 * int -> bool
Public Shared Function TryParsePartial (s As ReadOnlySpan(Of Char), style As NumberStyles, provider As IFormatProvider, ByRef result As Decimal64, ByRef charsConsumed As Integer) As Boolean
Параметры
- s
- ReadOnlySpan<Char>
- style
- NumberStyles
- provider
- IFormatProvider
- result
- Decimal64
- charsConsumed
- Int32
Возвращаемое значение
Применяется к
TryParsePartial(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, Decimal64, Int32)
- Исходный код:
- Decimal64.cs
public:
static bool TryParsePartial(ReadOnlySpan<System::Byte> utf8Text, System::Globalization::NumberStyles style, IFormatProvider ^ provider, [Runtime::InteropServices::Out] System::Numerics::Decimal64 % result, [Runtime::InteropServices::Out] int % bytesConsumed) = System::Numerics::INumberBase<System::Numerics::Decimal64>::TryParsePartial;
public static bool TryParsePartial(ReadOnlySpan<byte> utf8Text, System.Globalization.NumberStyles style, IFormatProvider? provider, out System.Numerics.Decimal64 result, out int bytesConsumed);
static member TryParsePartial : ReadOnlySpan<byte> * System.Globalization.NumberStyles * IFormatProvider * Decimal64 * int -> bool
Public Shared Function TryParsePartial (utf8Text As ReadOnlySpan(Of Byte), style As NumberStyles, provider As IFormatProvider, ByRef result As Decimal64, ByRef bytesConsumed As Integer) As Boolean
Параметры
- utf8Text
- ReadOnlySpan<Byte>
- style
- NumberStyles
- provider
- IFormatProvider
- result
- Decimal64
- bytesConsumed
- Int32