Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberSession


CreateCyberItemFromSU

Creates a Cyberdog item from a storage unit.

CyberItem CreateCyberItemFromSU (in ODStorageUnit su);
su
The persistent representation of a CyberItem object.
return value
The CyberItem object that was stored in the storage unit.
DISCUSSION
You call this method to read a Cyberdog item that was stored in the specified storage unit by the CyberItem::StreamToStorageUnit method or the CyberItem::ExternalizeContent method. This method assumes that you have already called OpenDoc methods to focus the storage unit on the appropriate property and value. After this method returns, the storage unit focus is positioned immediately after the stored Cyberdog item.

Do not subclass this class.

SEE ALSO
The CyberItem::ExternalizeContent method (page 232).
The CyberItem::StreamToStorageUnit method (page 246).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996