“The section is read-only” when adding content to OneNote using its API
问题 Currently I am trying to add content to a OneNote 2013 page using the UpdatePageContent function from the OneNote API provided by the Microsoft.Office.Interop.OneNote reference. However, I always obtain the error code 0x80042001 , which is described as The XML is invalid in the documentation. Yet, I cannot understand for what reason my XML in the following simple code would be invalid. using System; using OneNote = Microsoft.Office.Interop.OneNote; namespace ConsoleApplicationOneNoteTest {