Examples: Type property (NotesItem - LotusScript®)

This script gets the type of the Topic item in a document. The itemType variable gets the value TEXT.

Dim doc As NotesDocument
Dim item As NotesItem
Dim itemType As Integer
'...set value of doc...
Set item = doc.GetFirstItem( "Topic" )
itemType = item.Type