Class Notebook
- Namespace
- LinqToOneNote
- Assembly
- LinqToOneNote.dll
Represents a notebook in OneNote.
public class Notebook : OneNoteItem, INotebookOrSectionGroup, INameInvalidCharacters, IHasPath, IHasColor, IOneNoteItem, INavigable
- Inheritance
-
OneNoteItemNotebook
- Implements
- Inherited Members
- Extension Methods
Properties
Children
The direct children of the notebook, containing its sections and section groups.
public IReadOnlyList<IOneNoteItem> Children { get; }
Property Value
Color
The color of the notebook.
public Color? Color { get; }
Property Value
DisplayName
The display name of the notebook. Differs from Name as it may contain characters that are invalid for folder names. Furthermore, Name represents the folder name of the notebook on disk.
public string DisplayName { get; }
Property Value
Id
The id of the OneNote hierarchy item.
public string Id { get; }
Property Value
InvalidCharacters
A collection containing the characters that are not allowed in a notebook name.
These are: \ / * ? " | < > : % # .
public static IReadOnlyList<char> InvalidCharacters { get; }
Property Value
- See Also
-
IsValidName<THierarchyItem>(string)
IsUnread
Indicates whether the OneNote hierarchy item has unread information.
public bool IsUnread { get; }
Property Value
LastModified
The time when the OneNote hierarchy item was last modified.
public DateTime LastModified { get; }
Property Value
Name
The name of the notebook. This is the name of the folder in which the notebook contents are contained.
public string Name { get; }
Property Value
Path
The full path to the notebook.
public string Path { get; }
Property Value
SectionGroups
The section groups that this notebook contains (direct children only).
public IReadOnlyList<SectionGroup> SectionGroups { get; }
Property Value
Sections
The sections that this notebook contains (direct children only).
public IReadOnlyList<Section> Sections { get; }