XmlConvert.ToInt64(String) Método

Definición

Convierte el String en un Int64 equivalente.

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

Parámetros

s
String

Cadena que se va a convertir.

Devoluciones

Int64 equivalente de la cadena.

Excepciones

s no tiene el formato correcto.

s representa un número menor que Int64.MinValue o mayor que Int64.MaxValue.

Se aplica a