Share via


PermilleFormatter.ParseInt(String) Method

Definition

Attempts to parse a string representation of an integer permillage.

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)

Parameters

text
String

Platform::String

winrt::hstring

The text to be parsed.

Returns

IReference<Int64>

Nullable<Int64>

Windows.Foundation.IReference<long long>

IReference<long>

If successful, an Int64 that corresponds to the string representation, and otherwise null.

Implements

M:Windows.Globalization.NumberFormatting.INumberParser.ParseInt(System.String) M:Windows.Globalization.NumberFormatting.INumberParser.ParseInt(Platform::String) M:Windows.Globalization.NumberFormatting.INumberParser.ParseInt(winrt::hstring)

Applies to