Class
OneNotePageTraversal
OfficeIMO.OneNote
Provides the canonical ordered traversal of current OneNote pages.
Inheritance
- object
- OneNotePageTraversal
Methods
Flatten 2 overloads
public static IReadOnlyList<OneNotePageReference> Flatten(OneNoteSection section) #Enumerates a section's current pages in section order.
Parameters
- section OfficeIMO.OneNote.OneNoteSection
Returns
IReadOnlyList<OneNotePageReference>public static IReadOnlyList<OneNotePageReference> Flatten(OneNoteNotebook notebook, int maxSectionGroupDepth = 32) #Enumerates a notebook's current pages in native table-of-contents order.
Parameters
- notebook OfficeIMO.OneNote.OneNoteNotebook
- maxSectionGroupDepth int = 32
Returns
IReadOnlyList<OneNotePageReference>