This documentation is archived and is not being maintained.

IntPtr.ToInt64 Method

Converts the value of this instance to a 64-bit signed integer.

[Visual Basic]
Public Function ToInt64() As Long
public long ToInt64();
public: __int64 ToInt64();
public function ToInt64() : long;

Return Value

A 64-bit signed integer equal to the value of this instance.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

IntPtr Structure | IntPtr Members | System Namespace