XmlConvert.ToInt64(String) Metoda

Definicja

Konwertuje element String na Int64 odpowiednik.

public:
 static long ToInt64(System::String ^ s);
public static long ToInt64 (string s);
static member ToInt64 : string -> int64
Public Shared Function ToInt64 (s As String) As Long

Parametry

s
String

Ciąg do konwersji.

Zwraca

Odpowiednik Int64 ciągu.

Wyjątki

s nie ma poprawnego formatu.

s reprezentuje liczbę mniejszą niż Int64.MinValue lub większą niż Int64.MaxValue.

Dotyczy