OPC Studio User's Guide and Reference
UANodeTreePosition Class
Members 



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Graphs Namespace : UANodeTreePosition Class
A position in a tree of OPC UA nodes.
Object Model
UANodeTreePosition ClassUAQualifiedName ClassUABrowsePath ClassUANodeId ClassUANodeTreePosition ClassUANodeId ClassUANodeId Class
Syntax
'Declaration
 
<ComVisibleAttribute(False)>
<DefaultPropertyAttribute("BrowseName")>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
<CLSCompliantAttribute(True)>
<ValueControlAttribute("OpcLabs.BaseLib.Forms.Common.ObjectSerializationControl, OpcLabs.BaseLibForms, Version=5.80.82.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", 
   DefaultReadWrite=False, 
   Export=True, 
   PageId=10001)>
<SerializableAttribute()>
Public NotInheritable Class UANodeTreePosition 
   Inherits OpcLabs.EasyOpc.UA.AddressSpace.UANodeElement
   Implements LINQPad.ICustomMemberProvider, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.EasyOpc.UA.AddressSpace.ComTypes._UANodeElement, OpcLabs.EasyOpc.UA.AddressSpace.IUANodeElement, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable 
'Usage
 
Dim instance As UANodeTreePosition
[ComVisible(false)]
[DefaultProperty("BrowseName")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[CLSCompliant(true)]
[ValueControl("OpcLabs.BaseLib.Forms.Common.ObjectSerializationControl, OpcLabs.BaseLibForms, Version=5.80.82.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", 
   DefaultReadWrite=false, 
   Export=true, 
   PageId=10001)]
[Serializable()]
public sealed class UANodeTreePosition : OpcLabs.EasyOpc.UA.AddressSpace.UANodeElement, LINQPad.ICustomMemberProvider, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.EasyOpc.UA.AddressSpace.ComTypes._UANodeElement, OpcLabs.EasyOpc.UA.AddressSpace.IUANodeElement, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
[ComVisible(false)]
[DefaultProperty("BrowseName")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[CLSCompliant(true)]
[ValueControl("OpcLabs.BaseLib.Forms.Common.ObjectSerializationControl, OpcLabs.BaseLibForms, Version=5.80.82.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", 
   DefaultReadWrite=false, 
   Export=true, 
   PageId=10001)]
[Serializable()]
public ref class UANodeTreePosition sealed : public OpcLabs.EasyOpc.UA.AddressSpace.UANodeElement, LINQPad.ICustomMemberProvider, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.EasyOpc.UA.AddressSpace.ComTypes._UANodeElement, OpcLabs.EasyOpc.UA.AddressSpace.IUANodeElement, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
Remarks

The node that corresponds to the root of the tree is special in that from the properties inherited from OpcLabs.EasyOpc.UA.AddressSpace.UANodeElement, only the Node Id is filled in.

The tree positions can be used to obtain information about the current node, and the nodes on the path to the root, but you cannot access child or sibling nodes of the current node. This is because the tree is constructed "on the fly", as the OPC address space is traversed, and sufficient information about child or sibling nodes may not be available.

Inheritance Hierarchy

System.Object
   OpcLabs.BaseLib.Object2
      OpcLabs.BaseLib.Info
         OpcLabs.EasyOpc.UA.AddressSpace.UANodeElement
            OpcLabs.EasyOpc.UA.Graphs.UANodeTreePosition

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also