OneNote.RequestContext class
Комментарии
Примеры
// *.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) | Создает новый экземпляр |
Свойства
| application |
Сведения о конструкторе
(constructor)(url)
Создает новый экземпляр RequestContext класса
constructor(url?: string);
Параметры
- url
-
string