OneNote.RequestContext class
Remarks
Used by
- OneNote: run
- 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
Examples
// *.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...
});
Constructors
| (constructor)(url) | Constructs a new instance of the |
Properties
| application |
Constructor Details
(constructor)(url)
Constructs a new instance of the RequestContext class
constructor(url?: string);
Parameters
- url
-
string