LOTUSSCRIPT/COM/OLE CLASSES
Examples: Items property
1. This example prints the name of every item in a document. For example, if the document contains five items, the script might print "From," "SendTo," "Subject," "Body," and "DeliveredDate."
Dim doc As NotesDocument
'...set value of doc...
Forall i In doc.Items
Messagebox( i.Name )
End Forall
2. This script finds an Authors item in a document and assigns it to the authorItem object.
Dim doc As NotesDocument
Dim authorItem As NotesItem
'...set value of doc...
Forall item In doc.Items
If ( item.IsAuthors ) Then
Set authorItem = item
End If
End Forall
See Also
Items property
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary