I​Number​Parser I​Number​Parser I​Number​Parser Interface

Definition

An interface that parses a string representation of a numeric value.

public : interface INumberParserpublic interface INumberParserPublic Interface INumberParser
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

ParseDouble(String) ParseDouble(String) ParseDouble(String)

Attempts to parse a string representation of a Double numeric value.

public : IReference<double> ParseDouble(PlatForm::String text)public Nullable<double> ParseDouble(String text)Public Function ParseDouble(text As String) As Nullable( Of double )
Parameters
text
PlatForm::String String String

The text to be parsed.

Returns
IReference<double> Nullable<double> Nullable<double>

If successful, a Double that corresponds to the string representation, and otherwise null.

Attributes

ParseInt(String) ParseInt(String) ParseInt(String)

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

public : IReference<long> ParseInt(PlatForm::String text)public Nullable<long> ParseInt(String text)Public Function ParseInt(text As String) As Nullable( Of long )
Parameters
text
PlatForm::String String String

The text to be parsed.

Returns
IReference<long> Nullable<long> Nullable<long>

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

Attributes

ParseUInt(String) ParseUInt(String) ParseUInt(String)

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

public : IReference<ulong> ParseUInt(PlatForm::String text)public Nullable<ulong> ParseUInt(String text)Public Function ParseUInt(text As String) As Nullable( Of ulong )
Parameters
text
PlatForm::String String String

The text to be parsed.

Returns
IReference<ulong> Nullable<ulong> Nullable<ulong>

If successful, a UInt64 that corresponds to the string representation, and otherwise null.

Attributes