INumberParser.ParseInt(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
If successful, an Int64 that corresponds to the string representation, and otherwise null.