Compartilhar via


DecimalFormatter.ParseInt(String) Método

Definição

Tenta analisar uma representação de cadeia de caracteres de um inteiro.

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)

Parâmetros

text
String

Platform::String

winrt::hstring

O texto a ser analisado.

Retornos

IReference<Int64>

Nullable<Int64>

Windows.Foundation.IReference

IReference<long>

Se tiver êxito, um Int64 que corresponde à representação de cadeia de caracteres e, caso contrário, nulo.

Implementações

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

Aplica-se a