OPC Studio User's Guide and Reference
ItemId Property (DANodeElement)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.DataAccess.AddressSpace Namespace > DANodeElement Class : ItemId Property
The unique identifier for this item.
Syntax
'Declaration
 
<DataMemberAttribute(False)>
<XmlIgnoreAttribute()>
Public Property ItemId As String
'Usage
 
Dim instance As DANodeElement
Dim value As String
 
instance.ItemId = value
 
value = instance.ItemId
[DataMember(false)]
[XmlIgnore()]
public string ItemId {get; set;}
[DataMember(false)]
[XmlIgnore()]
public:
property String^ ItemId {
   String^ get();
   void set (    String^ value);
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The default value of this property is null.

Remarks
If the IsLeaf is True and ItemID is an empty string, then this element is a “hint” versus being a valid item. The OpcLabs.EasyOpc.NodeElement.Name property contains the hint text. If the value is a null reference, then the server has failed provide the item ID.
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