CurrencyFormatter.ParseUInt(String) 方法

定义

尝试分析无符号整数货币值的字符串表示形式。

public:
 virtual IReference<unsigned long long> ^ ParseUInt(Platform::String ^ text) = ParseUInt;
IReference<uint64_t> ParseUInt(winrt::hstring const& text);
public System.Nullable<ulong> ParseUInt(string text);
function parseUInt(text)
Public Function ParseUInt (text As String) As Nullable(Of ULong)

参数

text
String

Platform::String

winrt::hstring

要分析的文本。

返回

IReference<UInt64>

Nullable<UInt64>

Windows.Foundation.IReference

IReference<uint64_t>

如果成功,则为对应于字符串表示形式的 UInt64 ,否则返回 null

实现

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

适用于