Reader. Read UInt64 Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This API is not CLS-compliant.
Reads an 8-byte unsigned integer from the current stream and advances the position of the stream by eight bytes.
public: virtual System::UInt64 ReadUInt64();
[System.CLSCompliant(false)] public virtual ulong ReadUInt64 ();
[<System.CLSCompliant(false)>] abstract member ReadUInt64 : unit -> uint64 override this.ReadUInt64 : unit -> uint64
Public Overridable Function ReadUInt64 () As ULong
An 8-byte unsigned integer read from this stream.
The end of the stream is reached.
An I/O error occurred.
The stream is closed.
BinaryReader does not restore the file position after an unsuccessful read.
BinaryReader reads this data type in little-endian format.
For a list of common I/O tasks, see Common I/O Tasks.