PercentFormatter.ParseInt(String) 方法

定義

嘗試剖析整數百分比的字串表示。

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)

參數

text
String

Platform::String

winrt::hstring

要剖析的文字。

傳回

IReference<Int64>

Nullable<Int64>

Windows.Foundation.IReference

IReference<long>

如果成功,則為對應至字串表示的 Int64 ,否則為 null

實作

M:Windows.Globalization.NumberFormatting.INumberParser.ParseInt(System.String) M:Windows.Globalization.NumberFormatting.INumberParser.ParseInt(Platform::String) M:Windows.Globalization.NumberFormatting.INumberParser.ParseInt(winrt::hstring)

適用於