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
Véase también
Items property
Glosario
¿Desea opinar sobre la Ayuda?
Ayuda sobre la Ayuda
Abrir la Ayuda en pantalla completa
Glosario
¿Desea opinar sobre la Ayuda?
Ayuda sobre la Ayuda
Abrir la Ayuda en pantalla completa