static void GetEntireHierarchy() { String strXML; OneNote.ApplicationClass onApplication = new OneNote.ApplicationClass(); onApplication.GetHierarchy(null, OneNote.HierarchyScope.hsPages, out strXML); Clipboard.SetText(strXML); MessageBox.Show("The XML has been copied to the clipboard"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)