Converts a Byte to a UInt64.
[Visual Basic] Overridable Public Function ToUInt64() As UInt64 [C#] public virtual ulong ToUInt64(); [C++] public: virtual unsigned __int64 ToUInt64(); [JScript] public function ToUInt64() : UInt64;
A number as a UInt64.
Exception Type | Condition |
---|---|
InvalidCastException | is thrown if it doesn't return a UInt64. |
The ToUInt64 method converts a Byte value into a UInt64 and returns it.