Notebook.Notebook

Notebook()

Initializes a new instance of the Notebook class.

public Notebook()

See Also


Notebook(string)

Initializes a new instance of the Notebook class. Opens an existing OneNote notebook from a file.

public Notebook(string filePath)
ParameterTypeDescription
filePathStringThe file path.

See Also


Notebook(string, NotebookLoadOptions)

Initializes a new instance of the Notebook class. Opens an existing OneNote notebook from a file. Allows to specify additional options such as a children loading strategy (“lazy”/instant).

public Notebook(string filePath, NotebookLoadOptions loadOptions)
ParameterTypeDescription
filePathStringThe file path.
loadOptionsNotebookLoadOptionsThe load options.

See Also


Notebook(Stream)

Initializes a new instance of the Notebook class. Opens an existing OneNote notebook from a stream.

public Notebook(Stream stream)
ParameterTypeDescription
streamStreamThe stream.

See Also


Notebook(Stream, NotebookLoadOptions)

Initializes a new instance of the Notebook class. Opens an existing OneNote notebook from a stream. Allows to specify additional loading options.

public Notebook(Stream stream, NotebookLoadOptions loadOptions)
ParameterTypeDescription
streamStreamThe stream.
loadOptionsNotebookLoadOptionsThe load options.

See Also