getOutline (NotesDatabase - JavaScript™)
現在のデータベースにあるアウトラインを取得します。
定義場所
NotesDatabase構文
getOutline(outlinename:string) : NotesOutlineパラメータ | 説明 |
---|---|
outlinename | アウトラインの名前。 |
戻り値 | 説明 |
---|---|
NotesOutline | アウトライン |
使用法
アウトラインが存在しない場合は、例外が発生します。例
以下の計算結果フィールドには、アウトラインに関する情報が表示されます。var db:NotesDatabase = session.getDatabase("", "headline", false);
if (database == null) {
return "No headline.nsf";
} else {
try {
var outline:NotesOutline = db.getOutline("SubscriptionFormOutline");
return outline.getName() + ": first entry = " + outline.getFirst().getLabel();
} catch(e) {
return "No SubscriptionFormOutline"
}
}
言語間の参照
LotusScript® NotesDatabase クラスの getOutline メソッドJava Database クラスの getOutline メソッド