Freigeben über


OneNote.RequestContext class

Extends

Hinweise

Beispiele

// *.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...
});

Konstruktoren

(constructor)(url)

Erstellt eine neue instance der RequestContext -Klasse

Eigenschaften

application

Details zum Konstruktor

(constructor)(url)

Erstellt eine neue instance der RequestContext -Klasse

constructor(url?: string);

Parameter

url

string

Details zur Eigenschaft

application

readonly application: Application;

Eigenschaftswert