| MemoryMappedViewAccessor: Read |
Reads a structure of the type passed in from the accessor into a provided reference.
Public Sub Read( ByVal Position As Long, ByRef Structure As Variant )
| Exception | Condition |
|---|---|
| ArgumentException |
There are not enough bytes after Position to read a value. -or- Structure is not a user-defined or primitive type. |
| ArgumentOutOfRangeException | Position is less than zero or greater than the capacity of the accessor. |
| NotSupportedException | The accessor does not support reading. |