UInt128.TryParse Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| TryParse(ReadOnlySpan<Char>, UInt128) |
Versucht, einen Bereich von Zeichen in einen Wert zu analysieren. |
| TryParse(String, UInt128) |
Versucht, eine Zeichenfolge in einen Wert zu analysieren. |
| TryParse(ReadOnlySpan<Byte>, IFormatProvider, UInt128) |
Versucht, eine Spanne von UTF-8 Zeichen in einen Wert zu analysieren. |
| TryParse(ReadOnlySpan<Char>, IFormatProvider, UInt128) |
Versucht, eine Zeichenfolge in einen Wert zu analysieren. |
| TryParse(String, IFormatProvider, UInt128) |
Versucht, eine Zeichenfolge in einen Wert zu analysieren. |
| TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, UInt128) |
Versucht, eine Spanne von UTF-8 Zeichen in einen Wert zu analysieren. |
| TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, UInt128) |
Versucht, einen Bereich von Zeichen in einen Wert zu analysieren. |
| TryParse(ReadOnlySpan<Byte>, UInt128) |
Versucht, einen UTF-8-Zeichenbereich zu konvertieren, der die Zeichenfolgendarstellung einer Zahl in die 128-Bit-ganzzahlige Entsprechung ohne Vorzeichen enthält. |
| TryParse(String, NumberStyles, IFormatProvider, UInt128) |
Versucht, eine Zeichenfolge in einen Wert zu analysieren. |
TryParse(ReadOnlySpan<Char>, UInt128)
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
Versucht, einen Bereich von Zeichen in einen Wert zu analysieren.
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
Parameter
- s
- ReadOnlySpan<Char>
Die Spanne der zu analysierenden Zeichen.
- result
- UInt128
Wenn diese Methode zurückgegeben wird, enthält das Ergebnis einer erfolgreichen Analyse oder eines nicht definierten Werts s für fehler.
Gibt zurück
truewenn s erfolgreich analysiert wurde; andernfalls . false
Gilt für:
TryParse(String, UInt128)
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
Versucht, eine Zeichenfolge in einen Wert zu analysieren.
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
Parameter
- s
- String
Die zu analysierende Zeichenfolge.
- result
- UInt128
Wenn diese Methode zurückgegeben wird, enthält das Ergebnis einer erfolgreichen Analyse oder eines nicht definierten Werts s für fehler.
Gibt zurück
truewenn s erfolgreich analysiert wurde; andernfalls . false
Gilt für:
TryParse(ReadOnlySpan<Byte>, IFormatProvider, UInt128)
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
Versucht, eine Spanne von UTF-8 Zeichen in einen Wert zu analysieren.
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
Parameter
- utf8Text
- ReadOnlySpan<Byte>
Die Spanne von UTF-8 Zeichen, die analysiert werden sollen.
- provider
- IFormatProvider
Ein Objekt, das kulturspezifische Formatierungsinformationen zu utf8Text.
- result
- UInt128
Enthält das Ergebnis einer erfolgreichen Analyse oder eines nicht definierten Werts utf8Text für fehler.
Gibt zurück
truewenn utf8Text erfolgreich analysiert wurde; andernfalls . false
Gilt für:
TryParse(ReadOnlySpan<Char>, IFormatProvider, UInt128)
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
Versucht, eine Zeichenfolge in einen Wert zu analysieren.
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
Parameter
- s
- ReadOnlySpan<Char>
Die zu analysierende Zeichenfolge.
- provider
- IFormatProvider
Ein Objekt, das kulturspezifische Formatierungsinformationen zu s.
- result
- UInt128
Wenn diese Methode zurückgegeben wird, enthält das Ergebnis einer erfolgreichen Analyse oder eines nicht definierten Werts s für fehler.
Gibt zurück
truewenn s erfolgreich analysiert wurde; andernfalls . false
Gilt für:
TryParse(String, IFormatProvider, UInt128)
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
Versucht, eine Zeichenfolge in einen Wert zu analysieren.
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
Parameter
- s
- String
Die zu analysierende Zeichenfolge.
- provider
- IFormatProvider
Ein Objekt, das kulturspezifische Formatierungsinformationen zu s.
- result
- UInt128
Wenn diese Methode zurückgegeben wird, enthält das Ergebnis einer erfolgreichen Analyse oder eines nicht definierten Werts s für fehler.
Gibt zurück
truewenn s erfolgreich analysiert wurde; andernfalls . false
Gilt für:
TryParse(ReadOnlySpan<Byte>, NumberStyles, IFormatProvider, UInt128)
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
Versucht, eine Spanne von UTF-8 Zeichen in einen Wert zu analysieren.
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
Parameter
- utf8Text
- ReadOnlySpan<Byte>
Die Spanne von UTF-8 Zeichen, die analysiert werden sollen.
- style
- NumberStyles
Eine bitweise Kombination aus Zahlenformatvorlagen, die vorhanden utf8Textsein können.
- provider
- IFormatProvider
Ein Objekt, das kulturspezifische Formatierungsinformationen zu utf8Text.
- result
- UInt128
Enthält das Ergebnis einer erfolgreichen Analyse oder eines nicht definierten Werts utf8Text für fehler.
Gibt zurück
truewenn utf8Text erfolgreich analysiert wurde; andernfalls . false
Gilt für:
TryParse(ReadOnlySpan<Char>, NumberStyles, IFormatProvider, UInt128)
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
Versucht, einen Bereich von Zeichen in einen Wert zu analysieren.
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
Parameter
- s
- ReadOnlySpan<Char>
Die Spanne der zu analysierenden Zeichen.
- style
- NumberStyles
Eine bitweise Kombination aus Zahlenformatvorlagen, die vorhanden ssein können.
- provider
- IFormatProvider
Ein Objekt, das kulturspezifische Formatierungsinformationen zu s.
- result
- UInt128
Wenn diese Methode zurückgegeben wird, enthält das Ergebnis einer erfolgreichen Analyse oder eines nicht definierten Werts s für fehler.
Gibt zurück
truewenn s erfolgreich analysiert wurde; andernfalls . false
Gilt für:
TryParse(ReadOnlySpan<Byte>, UInt128)
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
Versucht, einen UTF-8-Zeichenbereich zu konvertieren, der die Zeichenfolgendarstellung einer Zahl in die 128-Bit-ganzzahlige Entsprechung ohne Vorzeichen enthält.
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
Parameter
- utf8Text
- ReadOnlySpan<Byte>
Eine Spanne mit den UTF-8-Zeichen, die die zu konvertierende Zahl darstellen.
- result
- UInt128
Wenn diese Methode zurückgegeben wird, enthält sie den 128-Bit-Ganzzahlwert ohne Vorzeichen, der der Zahl entspricht, die enthalten utf8Text ist, wenn die Konvertierung erfolgreich war, oder null, wenn die Konvertierung fehlgeschlagen ist. Dieser Parameter wird nicht initialisiert übergeben. alle ursprünglich im Ergebnis angegebenen Werte werden überschrieben.
Gibt zurück
true wenn utf8Text erfolgreich konvertiert wurde; andernfalls false.
Gilt für:
TryParse(String, NumberStyles, IFormatProvider, UInt128)
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
- Quelle:
- UInt128.cs
Versucht, eine Zeichenfolge in einen Wert zu analysieren.
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
Parameter
- s
- String
Die zu analysierende Zeichenfolge.
- style
- NumberStyles
Eine bitweise Kombination aus Zahlenformatvorlagen, die vorhanden ssein können.
- provider
- IFormatProvider
Ein Objekt, das kulturspezifische Formatierungsinformationen zu s.
- result
- UInt128
Wenn diese Methode zurückgegeben wird, enthält das Ergebnis einer erfolgreichen Analyse oder eines nicht definierten Werts s für fehler.
Gibt zurück
truewenn s erfolgreich analysiert wurde; andernfalls . false