QuickOPC 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)>
<DefaultValueAttribute("")>
<DisplayAttribute(AutoGenerateField=True, 
   Order=2, 
   ShortName="Item ID")>
<XmlIgnoreAttribute()>
Public Property ItemId As String
'Usage
 
Dim instance As DANodeElement
Dim value As String
 
instance.ItemId = value
 
value = instance.ItemId
[DataMember(false)]
[DefaultValue("")]
[Display(AutoGenerateField=true, 
   Order=2, 
   ShortName="Item ID")]
[XmlIgnore()]
public string ItemId {get; set;}
[DataMember(false)]
[DefaultValue("")]
[Display(AutoGenerateField=true, 
   Order=2, 
   ShortName="Item ID")]
[XmlIgnore()]
public:
property String^ ItemId {
   String^ get();
   void set (    String^ value);
}
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