I am using this sample code from the Examples.
RecurseIntoNode (m_state.CurrentPartition, false);
CurrentPartition is a InwOaNode
I would like to know how to get a InwOaPath object from this InwOaNode?
Or, is there a Root Path similar to CurrentPartition?
I need this because I after I run the Recurse code, I populate a treeview of Nodes and Attributes. I wish to be able to Add a tag for the InwOaPath for each InwOaNode in the treeview.
When user clicks an Item, I want to run this code to set the CurrentSelection.
var path = TreeViewNode.Tag as nw.InwOaPath;
_state.CurrentSelection.Paths().Add(path);