Class Root
- Namespace
- LinqToOneNote
- Assembly
- LinqToOneNote.dll
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).
public class Root : IEnumerable<IOneNoteItem>, IEnumerable
- Inheritance
-
Root
- Implements
- Inherited Members
- Extension Methods
Properties
Notebooks
The notebooks in the OneNote hierarchy.
public IReadOnlyList<Notebook> Notebooks { get; }
Property Value
OpenSections
The open sections in OneNote that are not contained in any notebook.
Can be null if there are no open sections.
public OpenSections? OpenSections { get; }
Property Value
Methods
GetEnumerator()
Returns an enumerator that will iterate the notebooks in the property Notebooks followed by the sections in OpenSections (if it is not null).
public Root.Enumerator GetEnumerator()
Returns
- Root.Enumerator
An enumerator that will iterate the notebooks in the property Notebooks followed by the sections in OpenSections (if it is not null).