XmlConvert.ToInt64(String) Méthode

Définition

Convertit la chaîne String en un équivalent Int64.

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

Paramètres

s
String

Chaîne à convertir.

Retours

Équivalent Int64 de la chaîne.

Exceptions

s a la valeur null.

Le format de s est incorrect.

s représente un nombre inférieur à Int64.MinValue ou supérieur à Int64.MaxValue.

S’applique à