Reads an unsigned 16-bit integer from the accessor.
Assembly: mscorlib (in mscorlib.dll)
There are not enough bytes after position to read a value.
position is less than zero or greater than the capacity of the accessor.
The accessor does not support reading.
The accessor has been disposed.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2