UInt128.TryParse Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| Name | Description |
|---|---|
| TryParse(ReadOnlySpan<Byte>, UInt128) |
Pokusí se převést rozsah znaků UTF-8 obsahující řetězcovou reprezentaci čísla na jeho 128bitový celočíselnou ekvivalent. |
| TryParse(ReadOnlySpan<Char>, UInt128) |
Pokusí se analyzovat rozsah znaků do hodnoty. |
| TryParse(String, UInt128) |
Pokusí se analyzovat řetězec do hodnoty. |
| TryParse(ReadOnlySpan<Char>, IFormatProvider, UInt128) |
Pokusí se analyzovat řetězec do hodnoty. |
| TryParse(String, IFormatProvider, UInt128) |
Pokusí se analyzovat řetězec do hodnoty. |
| TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, UInt128) |
Pokusí se analyzovat rozsah znaků UTF-8 do hodnoty. |
| TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, UInt128) |
Pokusí se analyzovat rozsah znaků do hodnoty. |
| TryParse(String, NumberStyles, IFormatProvider, UInt128) |
Pokusí se analyzovat řetězec do hodnoty. |
| TryParse(ReadOnlySpan<Byte>, IFormatProvider, UInt128) |
Pokusí se analyzovat rozsah znaků UTF-8 do hodnoty. |
TryParse(ReadOnlySpan<Byte>, UInt128)
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
Pokusí se převést rozsah znaků UTF-8 obsahující řetězcovou reprezentaci čísla na jeho 128bitový celočíselnou ekvivalent.
public:
static bool TryParse(ReadOnlySpan<System::Byte> utf8Text, [Runtime::InteropServices::Out] UInt128 % result);
public static bool TryParse(ReadOnlySpan<byte> utf8Text, out UInt128 result);
static member TryParse : ReadOnlySpan<byte> * UInt128 -> bool
Public Shared Function TryParse (utf8Text As ReadOnlySpan(Of Byte), ByRef result As UInt128) As Boolean
Parametry
- utf8Text
- ReadOnlySpan<Byte>
Rozsah obsahující znaky UTF-8 představující číslo, které se má převést.
- result
- UInt128
Pokud tato metoda vrátí, obsahuje 128bitovou celočíselnou hodnotu bez znaménka odpovídající číslu obsaženému v utf8Text případě úspěchu převodu nebo nula v případě selhání převodu. Tento parametr je předán neinicializovaný; jakákoli hodnota původně zadaná ve výsledku se přepíše.
Návraty
true pokud utf8Text byl úspěšně převeden; jinak , false.
Platí pro
TryParse(ReadOnlySpan<Char>, UInt128)
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
Pokusí se analyzovat rozsah znaků do hodnoty.
public:
static bool TryParse(ReadOnlySpan<char> s, [Runtime::InteropServices::Out] UInt128 % result);
public static bool TryParse(ReadOnlySpan<char> s, out UInt128 result);
static member TryParse : ReadOnlySpan<char> * UInt128 -> bool
Public Shared Function TryParse (s As ReadOnlySpan(Of Char), ByRef result As UInt128) As Boolean
Parametry
- s
- ReadOnlySpan<Char>
Rozsah znaků, které se mají analyzovat.
- result
- UInt128
Pokud tato metoda vrátí, obsahuje výsledek úspěšné analýzy s nebo nedefinovanou hodnotu při selhání.
Návraty
true pokud s byl úspěšně analyzován; jinak , false.
Platí pro
TryParse(String, UInt128)
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
Pokusí se analyzovat řetězec do hodnoty.
public:
static bool TryParse(System::String ^ s, [Runtime::InteropServices::Out] UInt128 % result);
public static bool TryParse(string? s, out UInt128 result);
static member TryParse : string * UInt128 -> bool
Public Shared Function TryParse (s As String, ByRef result As UInt128) As Boolean
Parametry
- s
- String
Řetězec, který se má analyzovat.
- result
- UInt128
Pokud tato metoda vrátí, obsahuje výsledek úspěšné analýzy s nebo nedefinovanou hodnotu při selhání.
Návraty
true pokud s byl úspěšně analyzován; jinak , false.
Platí pro
TryParse(ReadOnlySpan<Char>, IFormatProvider, UInt128)
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
Pokusí se analyzovat řetězec do hodnoty.
public:
static bool TryParse(ReadOnlySpan<char> s, IFormatProvider ^ provider, [Runtime::InteropServices::Out] UInt128 % result) = ISpanParsable<UInt128>::TryParse;
public static bool TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, out UInt128 result);
static member TryParse : ReadOnlySpan<char> * IFormatProvider * UInt128 -> bool
Public Shared Function TryParse (s As ReadOnlySpan(Of Char), provider As IFormatProvider, ByRef result As UInt128) As Boolean
Parametry
- s
- ReadOnlySpan<Char>
Řetězec, který se má analyzovat.
- provider
- IFormatProvider
Objekt, který poskytuje informace o sformátování specifické pro jazykovou verzi .
- result
- UInt128
Pokud tato metoda vrátí, obsahuje výsledek úspěšné analýzy s nebo nedefinovanou hodnotu při selhání.
Návraty
true pokud s byl úspěšně analyzován; jinak , false.
Platí pro
TryParse(String, IFormatProvider, UInt128)
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
Pokusí se analyzovat řetězec do hodnoty.
public:
static bool TryParse(System::String ^ s, IFormatProvider ^ provider, [Runtime::InteropServices::Out] UInt128 % result) = IParsable<UInt128>::TryParse;
public static bool TryParse(string? s, IFormatProvider? provider, out UInt128 result);
static member TryParse : string * IFormatProvider * UInt128 -> bool
Public Shared Function TryParse (s As String, provider As IFormatProvider, ByRef result As UInt128) As Boolean
Parametry
- s
- String
Řetězec, který se má analyzovat.
- provider
- IFormatProvider
Objekt, který poskytuje informace o sformátování specifické pro jazykovou verzi .
- result
- UInt128
Pokud tato metoda vrátí, obsahuje výsledek úspěšné analýzy s nebo nedefinovanou hodnotu při selhání.
Návraty
true pokud s byl úspěšně analyzován; jinak , false.
Platí pro
TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, UInt128)
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
Pokusí se analyzovat rozsah znaků UTF-8 do hodnoty.
public:
static bool TryParse(ReadOnlySpan<System::Byte> utf8Text, System::Globalization::NumberStyles style, IFormatProvider ^ provider, [Runtime::InteropServices::Out] UInt128 % result) = System::Numerics::INumberBase<UInt128>::TryParse;
public static bool TryParse(ReadOnlySpan<byte> utf8Text, System.Globalization.NumberStyles style, IFormatProvider? provider, out UInt128 result);
static member TryParse : ReadOnlySpan<byte> * System.Globalization.NumberStyles * IFormatProvider * UInt128 -> bool
Public Shared Function TryParse (utf8Text As ReadOnlySpan(Of Byte), style As NumberStyles, provider As IFormatProvider, ByRef result As UInt128) As Boolean
Parametry
- utf8Text
- ReadOnlySpan<Byte>
Rozsah znaků UTF-8 pro analýzu.
- style
- NumberStyles
Bitová kombinace stylů čísel, které mohou být přítomny v utf8Text.
- provider
- IFormatProvider
Objekt, který poskytuje informace o utf8Textformátování specifické pro jazykovou verzi .
- result
- UInt128
Při vrácení obsahuje výsledek úspěšné utf8Text analýzy nebo nedefinovanou hodnotu selhání.
Návraty
true pokud utf8Text byl úspěšně analyzován; jinak , false.
Platí pro
TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, UInt128)
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
Pokusí se analyzovat rozsah znaků do hodnoty.
public:
static bool TryParse(ReadOnlySpan<char> s, System::Globalization::NumberStyles style, IFormatProvider ^ provider, [Runtime::InteropServices::Out] UInt128 % result) = System::Numerics::INumberBase<UInt128>::TryParse;
public static bool TryParse(ReadOnlySpan<char> s, System.Globalization.NumberStyles style, IFormatProvider? provider, out UInt128 result);
static member TryParse : ReadOnlySpan<char> * System.Globalization.NumberStyles * IFormatProvider * UInt128 -> bool
Public Shared Function TryParse (s As ReadOnlySpan(Of Char), style As NumberStyles, provider As IFormatProvider, ByRef result As UInt128) As Boolean
Parametry
- s
- ReadOnlySpan<Char>
Rozsah znaků, které se mají analyzovat.
- style
- NumberStyles
Bitová kombinace stylů čísel, které mohou být přítomny v s.
- provider
- IFormatProvider
Objekt, který poskytuje informace o sformátování specifické pro jazykovou verzi .
- result
- UInt128
Pokud tato metoda vrátí, obsahuje výsledek úspěšné analýzy s nebo nedefinovanou hodnotu při selhání.
Návraty
true pokud s byl úspěšně analyzován; jinak , false.
Platí pro
TryParse(String, NumberStyles, IFormatProvider, UInt128)
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
Pokusí se analyzovat řetězec do hodnoty.
public:
static bool TryParse(System::String ^ s, System::Globalization::NumberStyles style, IFormatProvider ^ provider, [Runtime::InteropServices::Out] UInt128 % result) = System::Numerics::INumberBase<UInt128>::TryParse;
public static bool TryParse(string? s, System.Globalization.NumberStyles style, IFormatProvider? provider, out UInt128 result);
static member TryParse : string * System.Globalization.NumberStyles * IFormatProvider * UInt128 -> bool
Public Shared Function TryParse (s As String, style As NumberStyles, provider As IFormatProvider, ByRef result As UInt128) As Boolean
Parametry
- s
- String
Řetězec, který se má analyzovat.
- style
- NumberStyles
Bitová kombinace stylů čísel, které mohou být přítomny v s.
- provider
- IFormatProvider
Objekt, který poskytuje informace o sformátování specifické pro jazykovou verzi .
- result
- UInt128
Pokud tato metoda vrátí, obsahuje výsledek úspěšné analýzy s nebo nedefinovanou hodnotu při selhání.
Návraty
true pokud s byl úspěšně analyzován; jinak , false.
Platí pro
TryParse(ReadOnlySpan<Byte>, IFormatProvider, UInt128)
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
- Zdroj:
- UInt128.cs
Pokusí se analyzovat rozsah znaků UTF-8 do hodnoty.
public:
static bool TryParse(ReadOnlySpan<System::Byte> utf8Text, IFormatProvider ^ provider, [Runtime::InteropServices::Out] UInt128 % result) = IUtf8SpanParsable<UInt128>::TryParse;
public static bool TryParse(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider, out UInt128 result);
static member TryParse : ReadOnlySpan<byte> * IFormatProvider * UInt128 -> bool
Public Shared Function TryParse (utf8Text As ReadOnlySpan(Of Byte), provider As IFormatProvider, ByRef result As UInt128) As Boolean
Parametry
- utf8Text
- ReadOnlySpan<Byte>
Rozsah znaků UTF-8 pro analýzu.
- provider
- IFormatProvider
Objekt, který poskytuje informace o utf8Textformátování specifické pro jazykovou verzi .
- result
- UInt128
Při vrácení obsahuje výsledek úspěšné utf8Text analýzy nebo nedefinovanou hodnotu selhání.
Návraty
true pokud utf8Text byl úspěšně analyzován; jinak , false.