OPC Studio User's Guide and Reference
Item Property (_UANodeElementCollection)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AddressSpace.ComTypes Namespace > _UANodeElementCollection Interface : Item Property
Syntax
'Declaration
 
<NotNullAttribute()>
Default Property Item( _
   ByVal index As Integer _
) As UANodeElement
'Usage
 
Dim instance As _UANodeElementCollection
Dim index As Integer
Dim value As UANodeElement
 
instance.Item(index) = value
 
value = instance.Item(index)
[NotNull()]
UANodeElement this[ 
   int index
]; {get; set;}
[NotNull()]
property UANodeElement^ default [int] {
   UANodeElement^ get(int index);
   void set (int index, UANodeElement^ value);
}

Parameters

index

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

Because the OpcLabs.EasyOpc.UA.UANodeDescriptor has an implicit conversion from OpcLabs.EasyOpc.UA.AddressSpace.UANodeElement, you can simply use the returned OpcLabs.EasyOpc.UA.AddressSpace.UANodeElement in any place where OpcLabs.EasyOpc.UA.UANodeDescriptor is expected as input, and the corresponding node descriptor will be constructed automatically from the node element. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.UA.AddressSpace.UANodeElement.ToUANodeDescriptor static method instead.

Remarks

This member or type is for use from COM. It is not meant to be used from .NET or Python. Refer to the corresponding .NET member or type instead, if you are developing in .NET or Python.

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