Get Outlook Task Details from a OneNote Document

The NoteTask class provides all the properties related to a Microsoft OneNote document’s Outlook tasks. All the file’s Outlook tasks are contained by RichText nodes in the Document object. The code example given below demonstrates how to get details about each Outlook task from a OneNote document.