# OneNoteSectionGroup

A nested section-group folder in a OneNote notebook.

Class 

`OfficeIMO.OneNote`

**Namespace**

`OfficeIMO.OneNote`

**Assembly**

`OfficeIMO.OneNote`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OneNoteNotebook.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteNotebook.cs#L58)

**Modifiers**

sealed

A nested section-group folder in a OneNote notebook.

## Inheritance

- object
- OneNoteSectionGroup

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Read and Write OneNote Notebooks](/docs/onenote/notebooks/) Guide
  
  Open OneNote notebooks from a folder, a .onetoc2 file or a .onepkg export, walk section groups and sections, and write notebooks offline.

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Property [OneNoteNotebook.SectionGroups](/api/onenote/officeimo-onenote-onenotenotebook/#property-sectiongroups)
- Property [OneNoteSectionGroup.SectionGroups](/api/onenote/officeimo-onenote-onenotesectiongroup/#property-sectiongroups)

Filter members 

Show inherited

## Constructors

`public OneNoteSectionGroup()` [#](#constructor-ctor)

[OneNoteNotebook.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteNotebook.cs#L58)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public uint? TableOfContentsOrder { get; set; }` [#](#property-tableofcontentsorder)

[OneNoteNotebook.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteNotebook.cs#L64)

Relative navigation order among sibling sections and section groups when loaded from or written to a notebook TOC. Items without an explicit order follow ordered items in their collection order.

`public Guid? Id { get; set; }` [#](#property-id)

[OneNoteNotebook.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteNotebook.cs#L67)

Section-group identity when available. Serialization assigns and retains an identity for a new group.

`public string Name { get; set; }` [#](#property-name)

[OneNoteNotebook.cs:70](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteNotebook.cs#L70)

Section-group display name.

`public string? RelativePath { get; set; }` [#](#property-relativepath)

[OneNoteNotebook.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteNotebook.cs#L73)

Relative folder path inside the notebook.

`public OneNoteStorageFormat TableOfContentsStorageFormat { get; internal set; }` [#](#property-tableofcontentsstorageformat)

[OneNoteNotebook.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteNotebook.cs#L76)

Physical encoding of the loaded group .onetoc2, or unknown for a new group.

`public bool IsRecycleBin { get; set; }` [#](#property-isrecyclebin)

[OneNoteNotebook.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteNotebook.cs#L79)

Whether this group represents OneNote's recycle bin.

`public IList<OneNoteSectionGroup> SectionGroups { get; }` [#](#property-sectiongroups)

[OneNoteNotebook.cs:82](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteNotebook.cs#L82)

Nested section groups in display order.

`public IList<OneNoteSection> Sections { get; }` [#](#property-sections)

[OneNoteNotebook.cs:85](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteNotebook.cs#L85)

Sections in display order.

`public IList<OneNoteOpaqueObject> UnknownObjects { get; }` [#](#property-unknownobjects)

[OneNoteNotebook.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OneNote/Model/OneNoteNotebook.cs#L88)

Opaque section-group data preserved for loss-aware writing.

<!-- PowerForge markdown artifact sha256:F81677268AAB380573B550C8F9654758D19D5FA8256D1896AF1AEEB806105C66 -->
