Method CreatePage
- Namespace
- Odotocodot.OneNote.Linq
- Assembly
- Odotocodot.OneNote.Linq.dll
CreatePage(OneNoteSection, string, bool)
Creates a page with a title equal to name
located in the specified section
.
If section
is null, this method creates a page in the default quick notes location.
public static string CreatePage(OneNoteSection section, string name, bool openImmediately)
Parameters
section
OneNoteSection-
The section to create the page in.
name
string-
The title of the page.
openImmediately
bool-
Whether to open the newly created page in OneNote immediately.
Returns
- string
-
The Odotocodot.OneNote.Linq.OneNotePage.ID of the newly created page.