LOTUSSCRIPT /COM/OLE のクラス
Sub Initialize Dim session As New NotesSession Dim db As NotesDatabase Dim outline As NotesOutline Dim oe As NotesOutlineEntry Dim element As String ■ Set db = session.CurrentDatabase ■ Set outline = db.GetOutline("Site map") ■ Set oe = outline.GetFirst While Not (oe Is Nothing) If oe.Type = OUTLINE_TYPE_NAMEDELEMENT Then element = oe.NamedElement Messagebox "Named element for " & oe.Label _ & " is " & element,, "Entry type" End If Set oe = outline.GetNext(oe) Wend End Sub
関連項目