次の方法で共有


OneNote.RequestContext class

Extends

注釈

// *.run methods automatically create an OfficeExtension.ClientRequestContext
// object to work with the Office file.
await OneNote.run(async (context) => {
    const notebook = context.application.getActiveNotebook();
    // Interact with the OneNote notebook...
});

コンストラクター

(constructor)(url)

RequestContext クラスの新しいインスタンスを構築します

プロパティ

application

コンストラクターの詳細

(constructor)(url)

RequestContext クラスの新しいインスタンスを構築します

constructor(url?: string);

パラメーター

url

string

プロパティの詳細

application

readonly application: Application;

プロパティ値