IsWeakStorageUnitRef
The IsWeakStorageUnitRef method returns a Boolean value that indicates whether the specified persistent reference is a weak persistent reference.
ODBoolean IsWeakStorageUnitRef (in ODStorageUnitRef ref);
ref
- The persistent reference to be tested (assumed to be valid).
- return value
-
kODTrue if the specified reference is a weak persistent reference, otherwise kODFalse.
DISCUSSION
Before calling this method, you can call the IsValidStorageUnitRef method to check whether the specified persistent reference is valid.
EXCEPTIONS
kODErrUnfocusedStorageUnit
- This storage unit is not focused on a value.
kODErrZeroRefCount
- This storage unit has a reference count of 0.
SEE ALSO
The ODStorageUnitRef type (page 903).
The ODStorageUnit::GetWeakStorageUnitRef method (page 699).
The ODStorageUnit::IsStrongStorageUnitRef method (page 703).
The ODStorageUnit::IsValidStorageUnitRef method (page 704).