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 / CyberNotebookExtension


GetNthCyberItem

Retrieves a Cyberdog item displayed in this notebook.

CyberItem GetNthCyberItem (in long n);
n
The zero-based index of the CyberItem object to be retrieved.
return value
The CyberItem object specified by index.
DISCUSSION
This method should return the Cyberdog item indicated by the specified index. This method is used in conjunction with the CountCyberItems method to iterate through the Cyberdog items in a notebook.

If the specified index is out of range, the return value of this method is undefined.

If you subclass CyberNotebookExtension, you must override this method. Your override must not call its inherited method; that is, your override method must implement this method's functionality completely.

SEE ALSO
The CountCyberItems method (page 265).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996