DecimalFormatter.ParseInt(String) DecimalFormatter.ParseInt(String) DecimalFormatter.ParseInt(String) DecimalFormatter.ParseInt(String) DecimalFormatter.ParseInt(String) Method

Definition

Attempts to parse a string representation of an integer.

public : IReference<long> ParseInt(Platform::String text)
IReference<long> ParseInt(winrt::hstring text) const;
public Nullable<long> ParseInt(String text)
Public Function ParseInt(text As String) As Nullable<long>(Of long)
var iReference = decimalFormatter.parseInt(text);

Parameters

text
String String String

The text to be parsed.

Returns

Nullable<long> Nullable<long> Nullable<long>

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