Table of Contents

Method GetRecycleBin

Namespace
Odotocodot.OneNote.Linq
Assembly
Odotocodot.OneNote.Linq.dll

GetRecycleBin(OneNoteNotebook, out OneNoteSectionGroup)

Get the recycle bin section group for the specified notebook if it exists.

public static bool GetRecycleBin(this OneNoteNotebook notebook, out OneNoteSectionGroup sectionGroup)

Parameters

notebook OneNoteNotebook

The notebook to get the recycle bin of.

sectionGroup OneNoteSectionGroup

When this method returns, sectionGroup contains the recycle bin of the notebook if it was found; otherwise, null.

Returns

bool

true if the notebook contains a recycle bin; otherwise, false.