Bagikan melalui


DecimalFormatter.ParseInt(String) Metode

Definisi

Mencoba mengurai representasi string bilangan bulat.

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)

Parameter

text
String

Platform::String

winrt::hstring

Teks yang akan diurai.

Mengembalikan

IReference<Int64>

Nullable<Int64>

Windows.Foundation.IReference

IReference<long>

Jika berhasil, Int64 yang sesuai dengan representasi string, dan sebaliknya null.

Penerapan

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

Berlaku untuk