ExistsWithCursor
TheExistsWithCursormethod returns a Boolean value that indicates whether the focus context represented by the specified storage-unit cursor exists in this storage unit.
ODBoolean ExistsWithCursor (in ODStorageUnitCursor cursor);
cursor- A reference to the storage-unit cursor representing the focus context to be tested.
- return value
kODTrueif the focus context specified by the storage-unit cursor exists in this storage unit, otherwisekODFalse.DISCUSSION
You can call this method to see whether you can focus this storage unit using the specified storage-unit cursor; however, this method does not change the current focus context.If this method returns true, it is safe to call the
FocusWithCursormethod with the specified storage-unit cursor.EXCEPTIONS
kODErrZeroRefCount- This storage unit has a reference count of 0.
SEE ALSO
TheODStorageUnit::Existsmethod (page 681).
TheODStorageUnit::FocusWithCursormethod (page 686).