Szerkesztés

Megosztás a következőn keresztül:


XmlConvert.ToInt64(String) Method

Definition

Converts the String to a Int64 equivalent.

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

Parameters

s
String

The string to convert.

Returns

An Int64 equivalent of the string.

Exceptions

s is not in the correct format.

s represents a number less than Int64.MinValue or greater than Int64.MaxValue.

Applies to