MemoryMappedViewAccessor: ReadCurrency |
Reads a 64-bit currency from the accessor.
Public Function ReadCurrency( ByVal Position As Long ) As Currency
The ReadCurrency method reads 64-bits but does not scale the value to create a Currency without a fractional part. For example if the 64-bits read is equal to 1 then the returned currency value would be 0.0001.
Exception | Condition |
---|---|
ArgumentException | There are not enough bytes after Position to read a value. |
ArgumentOutOfRangeException | Position is less than zero or greater than the capacity of the accessor. |
NotSupportedException | The accessor does not support reading. |