API Reference
Class
OneNoteTableOfContentsWriter
Creates native offline .onetoc2 table-of-contents files.
Inheritance
- Object
- OneNoteTableOfContentsWriter
Methods
Write 3 overloads
public static Byte[] Write(OneNoteNotebook notebook, OneNoteWriterOptions options = null) #Returns:
Byte[]Serializes the root notebook hierarchy to a new byte array.
Parameters
- notebook OfficeIMO.OneNote.OneNoteNotebook
- options OfficeIMO.OneNote.OneNoteWriterOptions = null
public static Void Write(OneNoteNotebook notebook, Stream destination, OneNoteWriterOptions options = null) #Returns:
VoidSerializes the root notebook hierarchy to a caller-owned stream.
Parameters
- notebook OfficeIMO.OneNote.OneNoteNotebook
- destination System.IO.Stream
- options OfficeIMO.OneNote.OneNoteWriterOptions = null
public static Void Write(OneNoteNotebook notebook, String path, OneNoteWriterOptions options = null) #Returns:
VoidSerializes the root notebook hierarchy to a file.
Parameters
- notebook OfficeIMO.OneNote.OneNoteNotebook
- path System.String
- options OfficeIMO.OneNote.OneNoteWriterOptions = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object