OneNote.Interfaces.SectionLoadOptions interface
Represents a OneNote section. Sections can contain pages.
Remarks
Properties
$all | Specifying |
client |
The client url of the section. Read only |
id | Gets the ID of the section. Read-only. |
is |
True if this section is encrypted with a password. Read only |
is |
True if this section is locked. Read only |
name | Gets the name of the section. Read-only. |
notebook | Gets the notebook that contains the section. |
pages | The collection of pages in the section. Read only |
parent |
Gets the section group that contains the section. Throws ItemNotFound if the section is a direct child of the notebook. |
parent |
Gets the section group that contains the section. Returns null if the section is a direct child of the notebook. |
web |
The web url of the page. Read only |
Property Details
$all
Specifying $all
for the LoadOptions loads all the scalar properties (e.g.: Range.address
) but not the navigational properties (e.g.: Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
clientUrl
The client url of the section. Read only
clientUrl?: boolean;
Property Value
boolean
Remarks
id
Gets the ID of the section. Read-only.
id?: boolean;
Property Value
boolean
Remarks
isEncrypted
True if this section is encrypted with a password. Read only
isEncrypted?: boolean;
Property Value
boolean
Remarks
isLocked
True if this section is locked. Read only
isLocked?: boolean;
Property Value
boolean
Remarks
name
Gets the name of the section. Read-only.
name?: boolean;
Property Value
boolean
Remarks
notebook
Gets the notebook that contains the section.
notebook?: OneNote.Interfaces.NotebookLoadOptions;
Property Value
Remarks
pages
The collection of pages in the section. Read only
pages?: OneNote.Interfaces.PageCollectionLoadOptions;
Property Value
Remarks
parentSectionGroup
Gets the section group that contains the section. Throws ItemNotFound if the section is a direct child of the notebook.
parentSectionGroup?: OneNote.Interfaces.SectionGroupLoadOptions;
Property Value
Remarks
parentSectionGroupOrNull
Gets the section group that contains the section. Returns null if the section is a direct child of the notebook.
parentSectionGroupOrNull?: OneNote.Interfaces.SectionGroupLoadOptions;
Property Value
Remarks
webUrl
The web url of the page. Read only
webUrl?: boolean;
Property Value
boolean
Remarks
Office Add-ins