NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Convert.ToUInt64

Converts a value to a 64-bit unsigned integer.

Overload List

Converts an Int64 to a UInt64.

[Visual Basic] Overloads Public Shared Function ToUInt64(Long) As UInt64
[C#] public static ulong ToUInt64(long);
[C++] public: static unsigned __int64 ToUInt64(__int64);
[JScript] public static function ToUInt64(long) : UInt64;

[To be supplied.]

[Visual Basic] Overloads Public Shared Function ToUInt64(UInt64) As UInt64
[C#] public static ulong ToUInt64(ulong);
[C++] public: static unsigned __int64 ToUInt64(unsigned __int64);
[JScript] public static function ToUInt64(UInt64) : UInt64;

Converts an Int32 to a UInt64.

[Visual Basic] Overloads Public Shared Function ToUInt64(Integer) As UInt64
[C#] public static ulong ToUInt64(int);
[C++] public: static unsigned __int64 ToUInt64(int);
[JScript] public static function ToUInt64(int) : UInt64;

Converts a UInt32 to a UInt64.

[Visual Basic] Overloads Public Shared Function ToUInt64(UInt32) As UInt64
[C#] public static ulong ToUInt64(uint);
[C++] public: static unsigned __int64 ToUInt64(unsigned int);
[JScript] public static function ToUInt64(UInt32) : UInt64;

Converts a Decimal to a UInt64.

[Visual Basic] Overloads Public Shared Function ToUInt64(Decimal) As UInt64
[C#] public static ulong ToUInt64(Decimal);
[C++] public: static unsigned __int64 ToUInt64(Decimal);
[JScript] public static function ToUInt64(Decimal) : UInt64;

Converts a String to a UInt64 value.

[Visual Basic] Overloads Public Shared Function ToUInt64(String) As UInt64
[C#] public static ulong ToUInt64(String);
[C++] public: static unsigned __int64 ToUInt64(String*);
[JScript] public static function ToUInt64(String) : UInt64;

Converts a Single to a UInt64.

[Visual Basic] Overloads Public Shared Function ToUInt64(Single) As UInt64
[C#] public static ulong ToUInt64(float);
[C++] public: static unsigned __int64 ToUInt64(float);
[JScript] public static function ToUInt64(float) : UInt64;

Converts a Double to a UInt64.

[Visual Basic] Overloads Public Shared Function ToUInt64(Double) As UInt64
[C#] public static ulong ToUInt64(double);
[C++] public: static unsigned __int64 ToUInt64(double);
[JScript] public static function ToUInt64(double) : UInt64;

[To be supplied.]

[Visual Basic] Overloads Public Shared Function ToUInt64(Char) As UInt64
[C#] public static ulong ToUInt64(char);
[C++] public: static unsigned __int64 ToUInt64(__wchar_t);
[JScript] public static function ToUInt64(Char) : UInt64;

Converts an SByte to a UInt64.

[Visual Basic] Overloads Public Shared Function ToUInt64(SByte) As UInt64
[C#] public static ulong ToUInt64(sbyte);
[C++] public: static unsigned __int64 ToUInt64(char);
[JScript] public static function ToUInt64(SByte) : UInt64;

[To be supplied.]

[Visual Basic] Overloads Public Shared Function ToUInt64(Object) As UInt64
[C#] public static ulong ToUInt64(Object);
[C++] public: static unsigned __int64 ToUInt64(Object*);
[JScript] public static function ToUInt64(Object) : UInt64;

Converts a Boolean to a UInt64.

[Visual Basic] Overloads Public Shared Function ToUInt64(Boolean) As UInt64
[C#] public static ulong ToUInt64(bool);
[C++] public: static unsigned __int64 ToUInt64(bool);
[JScript] public static function ToUInt64(Boolean) : UInt64;

Converts an Int16 to a UInt64.

[Visual Basic] Overloads Public Shared Function ToUInt64(Integer) As UInt64
[C#] public static ulong ToUInt64(short);
[C++] public: static unsigned __int64 ToUInt64(short);
[JScript] public static function ToUInt64(Int16) : UInt64;

Converts a UInt16 to a UInt64.

[Visual Basic] Overloads Public Shared Function ToUInt64(UInt16) As UInt64
[C#] public static ulong ToUInt64(ushort);
[C++] public: static unsigned __int64 ToUInt64(unsigned short);
[JScript] public static function ToUInt64(UInt16) : UInt64;

Parses a specified value in a specified base.

[Visual Basic] Overloads Public Shared Function ToUInt64(String, Integer) As UInt64
[C#] public static ulong ToUInt64(String, int);
[C++] public: static unsigned __int64 ToUInt64(String*, int);
[JScript] public static function ToUInt64(String, int) : UInt64;

Converts a Byte to a UInt64.

[Visual Basic] Overloads Public Shared Function ToUInt64(Byte) As UInt64
[C#] public static ulong ToUInt64(byte);
[C++] public: static unsigned __int64 ToUInt64(unsigned char);
[JScript] public static function ToUInt64(Byte) : UInt64;

See Also

Convert Class | Convert Members | System Namespace