OneNote.RequestContext class
Комментарии
Используется
- OneNote: запуск
- OneNote.Application: контекст
- OneNote.FloatingInk: контекст
- OneNote.Image: контекст
- OneNote.InkAnalysis: контекст
- OneNote.InkAnalysisLine: контекст
- OneNote.InkAnalysisLineCollection: context
- OneNote.InkAnalysisParagraph: context
- OneNote.InkAnalysisParagraphCollection: context
- OneNote.InkAnalysisWord: context
- OneNote.InkAnalysisWordCollection: context
- OneNote.InkStroke: контекст
- OneNote.InkStrokeCollection: context
- OneNote.InkWord: контекст
- OneNote.InkWordCollection: context
- OneNote.NoteTag: контекст
- OneNote.Notebook: контекст
- OneNote.NotebookCollection: контекст
- OneNote.Outline: контекст
- OneNote.Page: контекст
- OneNote.PageCollection: контекст
- OneNote.PageContent: контекст
- OneNote.PageContentCollection: контекст
- OneNote.Paragraph: контекст
- OneNote.ParagraphCollection: контекст
- OneNote.Point: контекст
- OneNote.PointCollection: контекст
- OneNote.RichText: контекст
- OneNote.Section: контекст
- OneNote.SectionCollection: контекст
- OneNote.SectionGroup: контекст
- OneNote.SectionGroupCollection: контекст
- OneNote.Table: контекст
- OneNote.TableCell: контекст
- OneNote.TableCellCollection: контекст
- OneNote.TableRow: контекст
- OneNote.TableRowCollection: контекст
Примеры
// *.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