Table of Contents

Method FindByID

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

FindByID(string)

Finds the Odotocodot.OneNote.Linq.IOneNoteItem with the corresponding id.

public static IOneNoteItem FindByID(string id)

Parameters

id string

The Odotocodot.OneNote.Linq.IOneNoteItem.ID of the OneNote hierarchy item to find.

Returns

IOneNoteItem

The Odotocodot.OneNote.Linq.IOneNoteItem with the specified ID if found; otherwise, null.

Remarks

This method currently uses Odotocodot.OneNote.Linq.OneNoteApplication.GetNotebooks which returns the whole hierarchy to find the ID. So be weary of performance.