Table of Contents

Namespace LinqToOneNote

Classes

Extensions

A static class containing extension methods for the IOneNoteItem object.

LinqExtensions

Linq extension methods for a IOneNoteItem.

Notebook

Represents a notebook in OneNote.

OneNote

A static wrapper class around the Microsoft.Office.Interop.OneNote.Application class, allowing for lazy acquirement and release of a OneNote COM object. In addition to exposing the OneNote's API

OneNote.Partial

Contains methods that can query parts of the OneNote hierarchy.
This can cause some properties like Children and Parent to be null or empty, even if they have values in OneNote. The Update functions overwrite the existing data in the provided item with the latest data from OneNote.

OneNoteItemEqualityComparer

Use to check if two IOneNoteItems have the same id, i.e. they represent the same item in OneNote.

OpenSections

Represents the root of open sections in OneNote. These are sections that are not contained in a notebook.

Page

Represents a page in OneNote.

Root

The root of object containing the OneNote hierarchy.
Enumerating this will yield all the notebooks in the property Notebooks followed by all the sections in OpenSections (if not null).

Section

Represents a section in OneNote.

SectionGroup

Represents a section group in OneNote.

Interfaces

IOneNoteItem

The base interface of OneNote hierarchy items types.

Enums

ComObjectMode

Defines the mode of COM object handling when using the methods in OneNote.

HierarchyScope

When passed to the OneNote.Partial methods, specifies the lowest level to get in the notebook node hierarchy.

OpenMode

Specifies how/whether to open a newly created OneNote item.