Table of Contents

Class SectionGroup

Namespace
LinqToOneNote
Assembly
LinqToOneNote.dll

Represents a section group in OneNote.

public class SectionGroup : OneNoteItem, INotebookOrSectionGroup, INameInvalidCharacters, IHasPath, IDeletable, IOneNoteItem, INavigable
Inheritance
OneNoteItem
SectionGroup
Implements
Inherited Members
Extension Methods

Properties

Children

The direct children of the section group, containing its sections and section groups.

public IReadOnlyList<IOneNoteItem> Children { get; }

Property Value

IReadOnlyList<IOneNoteItem>

Id

The id of the OneNote hierarchy item.

public string Id { get; }

Property Value

string

InvalidCharacters

An array containing the characters that are not allowed in a section group name.
These are: \ / * ? " | < > : % # &

public static IReadOnlyList<char> InvalidCharacters { get; }

Property Value

IReadOnlyList<char>
See Also
IsValidName<THierarchyItem>(string)

IsRecycleBin

Indicates whether this is a special section group which contains all the recently deleted sections as well as the "Deleted Pages" section (see IsDeletedPages).

public bool IsRecycleBin { get; }

Property Value

bool
See Also

IsUnread

Indicates whether the OneNote hierarchy item has unread information.

public bool IsUnread { get; }

Property Value

bool

LastModified

The time when the OneNote hierarchy item was last modified.

public DateTime LastModified { get; }

Property Value

DateTime

Name

The name of the OneNote hierarchy item.

public string Name { get; }

Property Value

string

Parent

The parent notebook or section group of the section group.

public INotebookOrSectionGroup Parent { get; }

Property Value

INotebookOrSectionGroup

Path

The full path to the section group.

public string Path { get; }

Property Value

string

SectionGroups

The section groups that this section group contains (direct children only).

public IReadOnlyList<SectionGroup> SectionGroups { get; }

Property Value

IReadOnlyList<SectionGroup>

Sections

The sections that this section group contains (direct children only).

public IReadOnlyList<Section> Sections { get; }

Property Value

IReadOnlyList<Section>