- Inside Macintosh: OpenDoc Class Reference /
- Part 1 - Classes and Methods / ODStorageUnit
GetOffset
The GetOffset method returns the offset of the currently focused value.
ODULong GetOffset ();
- return value
- The offset (in bytes) of the read/write position from the beginning of the data stream in the currently focused value, expressed as an unsigned 32-bit value.
DISCUSSION
An offset of 0 means the beginning of the data stream corresponding to the focused value; an offset equal to the size returned by the GetSize method means the end of the data stream.
EXCEPTIONS
kODErrUnfocusedStorageUnit
- This storage unit is not focused on a value.
kODErrZeroRefCount
- This storage unit has a reference count of 0.
SEE ALSO
The ODStorageUnit::GetSize method (page 695).
The ODStorageUnit::SetOffset method (page 710).
© Apple Computer, Inc.
17 JUL 1996