DecimalFormatter.ParseInt(String) 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.
Versucht, eine Zeichenfolgendarstellung einer ganzen Zahl zu analysieren.
public:
virtual IReference<long long> ^ ParseInt(Platform::String ^ text) = ParseInt;
IReference<long> ParseInt(winrt::hstring const& text);
public System.Nullable<long> ParseInt(string text);
function parseInt(text)
Public Function ParseInt (text As String) As Nullable(Of Long)
Parameter
- text
-
String
Platform::String
winrt::hstring
Der einzufügende Text.
Gibt zurück
Bei erfolgreicher Ausführung ein Int64-Wert , der der Zeichenfolgendarstellung entspricht, andernfalls NULL.
Implementiert
M:Windows.Globalization.NumberFormatting.INumberParser.ParseInt(System.String)
M:Windows.Globalization.NumberFormatting.INumberParser.ParseInt(Platform::String)
M:Windows.Globalization.NumberFormatting.INumberParser.ParseInt(winrt::hstring)