XmlConvert.ToInt64(String) Méthode

Définition

Convertit le String en é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

La chaîne à convertir.

Retours

Équivalent Int64 de la chaîne.

Exceptions

s a la valeur null.

s n’est pas au format correct.

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

S’applique à