IsWeakStorageUnitRef
TheIsWeakStorageUnitRefmethod 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
kODTrueif the specified reference is a weak persistent reference, otherwisekODFalse.DISCUSSION
Before calling this method, you can call theIsValidStorageUnitRefmethod 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
TheODStorageUnitReftype (page 903).
TheODStorageUnit::GetWeakStorageUnitRefmethod (page 699).
TheODStorageUnit::IsStrongStorageUnitRefmethod (page 703).
TheODStorageUnit::IsValidStorageUnitRefmethod (page 704).
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help