Freigeben über


PercentFormatter.ParseInt(String) Methode

Definition

Versucht, eine Zeichenfolgendarstellung eines ganzzahligen Prozentsatzes 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

IReference<Int64>

Nullable<Int64>

Windows.Foundation.IReference<long long>

IReference<long>

Wenn erfolgreich, ein Int64 , das 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)

Gilt für: