- Inside Macintosh: OpenDoc Class Reference /
- Part 1 - Classes and Methods / ODStorageUnitView
GetType
The GetType method returns the type of the focused value.
ODValueType GetType ();
- return value
- The type of the focused value.
DISCUSSION
When you no longer need the returned value type, you should deallocate it.
EXCEPTIONS
kODErrUnfocusedStorageUnit
- The focus context of this storage-unit view is not a value.
If the storage-unit cursor for this storage-unit view does not represent a legal focus context for the storage unit that created this storage-unit view, this method throws exceptions raised by the FocusWithCursor method of that storage unit.
SEE ALSO
The ODValueType type (page 904).
The ODStorageUnitView::SetType method (page 759).
© Apple Computer, Inc.
17 JUL 1996