例: Type property (NotesItem - LotusScript®)

次のスクリプトは文書の Topic アイテムの種類を取得します。変数 itemType は値 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