This documentation is archived and is not being maintained.

Int64.Parse Method

Converts the string representation of a number to its 64-bit signed integer equivalent.

Overload List

Converts the string representation of a number to its 64-bit signed integer equivalent.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Shared Function Parse(String) As Long
[C#] public static long Parse(string);
[C++] public: static __int64 Parse(String*);
[JScript] public static function Parse(String) : long;

Converts the string representation of a number in a specified culture-specific format to its 64-bit signed integer equivalent.

[Visual Basic] Overloads Public Shared Function Parse(String, IFormatProvider) As Long
[C#] public static long Parse(string, IFormatProvider);
[C++] public: static __int64 Parse(String*, IFormatProvider*);
[JScript] public static function Parse(String, IFormatProvider) : long;

Converts the string representation of a number in a specified style to its 64-bit signed integer equivalent.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Shared Function Parse(String, NumberStyles) As Long
[C#] public static long Parse(string, NumberStyles);
[C++] public: static __int64 Parse(String*, NumberStyles);
[JScript] public static function Parse(String, NumberStyles) : long;

Converts the string representation of a number in a specified style and culture-specific format to its 64-bit signed integer equivalent.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Shared Function Parse(String, NumberStyles, IFormatProvider) As Long
[C#] public static long Parse(string, NumberStyles, IFormatProvider);
[C++] public: static __int64 Parse(String*, NumberStyles, IFormatProvider*);
[JScript] public static function Parse(String, NumberStyles, IFormatProvider) : long;

See Also

Int64 Structure | Int64 Members | System Namespace

Show: