LOTUSSCRIPT /COM/OLE のクラス
例:GetView メソッド
1. 次のスクリプトは現在のデータベースの [Main] ビューを取得してタイトルを表示します。
@IndMono sngl@Sub Click(Source As Button)
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Set db = session.CurrentDatabase
Set view = db.GetView( "Main View" )
If Not view Is Nothing Then Messagebox( view.Name )
End Sub
2. 次のスクリプトは現在のデータベースの [By Projects\By Author] ビューを取得します。ただし、ビューへのアクセスには別名を使用します。
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Set db = session.CurrentDatabase
Set view = db.GetView( "Authors" )
関連項目
GetView メソッド
用語集
フィードバック
ヘルプ
または
プロダクトユーザビリティ
ヘルプの使い方
すべてのヘルプ項目
用語集