OneNote.RequestContext class
Remarques
Exemples
// *.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...
});
Constructeurs
| (constructor)(url) | Construit une nouvelle instance de la |
Propriétés
| application |
Détails du constructeur
(constructor)(url)
Construit une nouvelle instance de la RequestContext classe
constructor(url?: string);
Paramètres
- url
-
string