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