Share via


INumberParser.ParseInt(String) Method

Definition

Attempts to parse a string representation of an integer numeric value.

public:
 IReference<long long> ^ ParseInt(Platform::String ^ text);
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.

Applies to