OneNote.RequestContext class
注解
使用方
- OneNote: 运行
- OneNote.Application: context
- OneNote.FloatingInk: context
- OneNote.Image: context
- OneNote.InkAnalysis: context
- OneNote.InkAnalysisLine: context
- OneNote.InkAnalysisLineCollection: context
- OneNote.InkAnalysisParagraph: context
- OneNote.InkAnalysisParagraphCollection: context
- OneNote.InkAnalysisWord: context
- OneNote.InkAnalysisWordCollection: context
- OneNote.InkStroke: context
- OneNote.InkStrokeCollection: context
- OneNote.InkWord: context
- OneNote.InkWordCollection: context
- OneNote.NoteTag: context
- OneNote.Notebook: context
- OneNote.NotebookCollection: context
- OneNote.Outline: context
- OneNote.Page: context
- OneNote.PageCollection: context
- OneNote.PageContent: context
- OneNote.PageContentCollection: context
- OneNote.Paragraph: context
- OneNote.ParagraphCollection: context
- OneNote.Point: context
- OneNote.PointCollection: context
- OneNote.RichText: context
- OneNote.Section: context
- OneNote.SectionCollection: context
- OneNote.SectionGroup: context
- OneNote.SectionGroupCollection: context
- OneNote.Table: context
- OneNote.TableCell: context
- OneNote.TableCellCollection: context
- OneNote.TableRow: context
- OneNote.TableRowCollection: context
示例
// *.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