MemoryMappedViewAccessor: ReadDate |
Read a Date from the accessor.
Public Function ReadDate( ByVal Position As Long ) As Date
The ReadDate method reads 64-bits as Ticks to represent the Date. This means that there is a possible invalid date value read. This would cause an OverflowException to be thrown.
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. |
OverflowException | A value was read that cannot be represented as a valid OLE Automation Date. |
NotSupportedException | The accessor does not support reading. |