LOTUSSCRIPT/COM/OLE CLASSES
The NotesDocument class provides several properties and methods to access the items in the document. If you do not know the name of an item or want to traverse the items in a document, you can use the Items property, an array of NotesItem objects. As you access each array element, use the NotesItem properties and methods to interrogate and manipulate the object.
To access an item whose name is known, use the GetFirstItem of NotesDocument.
You can get the value of an item through several techniques. The first two techniques do not require that you first access the item object.
To get the text values of the items named Received in a document, use GetReceivedItemText.
Two items can have the same name. To access an item other than the first item, use the Items property of NotesDocument.
Example See Also