API Reference
Class
OneNotePackageWriter
Creates portable Cabinet-based .onepkg notebook archives.
Inheritance
- Object
- OneNotePackageWriter
Methods
Write 3 overloads
public static Byte[] Write(OneNoteNotebook notebook, OneNoteWriterOptions options = null) #Returns:
Byte[]Serializes a complete notebook to a new .onepkg 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 a complete notebook 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 a complete notebook to a .onepkg 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