- Inside Macintosh: OpenDoc Class Reference /
- Part 1 - Classes and Methods / ODStorageUnit
GetDraft
The GetDraft method returns a reference to the draft object that created this storage unit.
ODDraft GetDraft ();
- return value
- A reference to the draft object that created this storage unit.
DISCUSSION
This method does not increment the reference count of the returned draft. For that reason, if you cache the returned draft, you should call its Acquire method to increment its reference count and then call its Release method when you are finished using it.
EXCEPTIONS
kODErrZeroRefCount
- This storage unit has a reference count of 0.
© Apple Computer, Inc.
17 JUL 1996