API Reference
Class
OneNoteNotebookReader
Reads a local OneNote notebook hierarchy from .onetoc2 files and sibling sections.
Inheritance
- Object
- OneNoteNotebookReader
Methods
Read 2 overloads
public static OneNoteNotebook Read(String tableOfContentsPath, OneNoteNotebookReaderOptions options = null) #Returns:
OneNoteNotebookReads a notebook from a local .onetoc2 file.
Parameters
- tableOfContentsPath System.String
- options OfficeIMO.OneNote.OneNoteNotebookReaderOptions = null
public static OneNoteNotebook Read(Stream tableOfContentsStream, String sourceName = "Open Notebook.onetoc2", OneNoteNotebookReaderOptions options = null) #Returns:
OneNoteNotebookReads the root hierarchy from a caller-owned .onetoc2 stream. Because a standalone stream cannot resolve sibling files, returned sections and groups contain TOC metadata only.
Parameters
- tableOfContentsStream System.IO.Stream
- sourceName System.String = "Open Notebook.onetoc2"
- options OfficeIMO.OneNote.OneNoteNotebookReaderOptions = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object