| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As NodeState Dim context As ISystemContext Dim browsePath As String Dim hierarchy As Dictionary(Of NodeId,String) instance.GetInstanceHierarchy(context, browsePath, hierarchy) | |
| C# | |
|---|---|
public void GetInstanceHierarchy( ISystemContext context, string browsePath, Dictionary<NodeId,string> hierarchy ) | |
Parameters
- context
- The context for the current operation.
- browsePath
- The path to the parent object.
- hierarchy
- A table of all nodes in the hierarchy.
This method is use get a snapshot of the relative paths to all nodes in the hierarchy.
The hierarchy may not be complete if portions of it are stored external systems.
Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x