PercentFormatter.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 percentage.
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
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)