QuickOPC User's Guide and Reference
DANodeTreePosition Class
Members 



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.Graphs Namespace : DANodeTreePosition Class
A position in a tree of OPC DA nodes.
Object Model
DANodeTreePosition ClassBrowsePath ClassDANodeTreePosition Class
Syntax
'Declaration
 
<ComVisibleAttribute(False)>
<CLSCompliantAttribute(True)>
<DefaultPropertyAttribute("Name")>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
<ValueControlAttribute("OpcLabs.BaseLib.Forms.Common.ObjectSerializationControl, OpcLabs.BaseLibForms, Version=5.72.465.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", 
   DefaultReadWrite=False, 
   Export=True, 
   PageId=10001)>
<SerializableAttribute()>
Public NotInheritable Class DANodeTreePosition 
   Inherits OpcLabs.EasyOpc.DataAccess.AddressSpace.DANodeElement
   Implements LINQPad.ICustomMemberProvider, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.EasyOpc.ComTypes._NodeElement, OpcLabs.EasyOpc.DataAccess.AddressSpace.ComTypes._DANodeElement, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable 
'Usage
 
Dim instance As DANodeTreePosition
[ComVisible(false)]
[CLSCompliant(true)]
[DefaultProperty("Name")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[ValueControl("OpcLabs.BaseLib.Forms.Common.ObjectSerializationControl, OpcLabs.BaseLibForms, Version=5.72.465.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", 
   DefaultReadWrite=false, 
   Export=true, 
   PageId=10001)]
[Serializable()]
public sealed class DANodeTreePosition : OpcLabs.EasyOpc.DataAccess.AddressSpace.DANodeElement, LINQPad.ICustomMemberProvider, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.EasyOpc.ComTypes._NodeElement, OpcLabs.EasyOpc.DataAccess.AddressSpace.ComTypes._DANodeElement, System.ICloneable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
[ComVisible(false)]
[CLSCompliant(true)]
[DefaultProperty("Name")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[ValueControl("OpcLabs.BaseLib.Forms.Common.ObjectSerializationControl, OpcLabs.BaseLibForms, Version=5.72.465.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", 
   DefaultReadWrite=false, 
   Export=true, 
   PageId=10001)]
[Serializable()]
public ref class DANodeTreePosition sealed : public OpcLabs.EasyOpc.DataAccess.AddressSpace.DANodeElement, LINQPad.ICustomMemberProvider, OpcLabs.BaseLib.ComTypes._Info, OpcLabs.BaseLib.ComTypes._Object2, OpcLabs.EasyOpc.ComTypes._NodeElement, OpcLabs.EasyOpc.DataAccess.AddressSpace.ComTypes._DANodeElement, 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.DataAccess.AddressSpace.DANodeElement, only the Item 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.NodeElement
            OpcLabs.EasyOpc.DataAccess.AddressSpace.DANodeElement
               OpcLabs.EasyOpc.DataAccess.Graphs.DANodeTreePosition

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