LOTUSSCRIPT /COM/OLE のクラス


例:IsPrivate プロパティ
次のスクリプトは、エントリが個人エントリかどうかを示します。

Dim session As New NotesSession
Dim db As NotesDatabase
Dim outline As NotesOutline
Dim oe As NotesOutlineEntry
Set db = session.CurrentDatabase
Set outline = db.GetOutline("products")
Set oe = outline.GetFirst()
If oe.IsPrivate Then
 Messagebox "This entry is private."
Else
 Messagebox "This entry is public."
End If

関連項目