Connectivity Software User's Guide and Reference
Item Property (_UASimpleAttributeOperandCollection)



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

Parameters

index

Property Value

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

Because the OpcLabs.EasyOpc.UA.UAAttributeField has an implicit conversion from OpcLabs.EasyOpc.UA.Filtering.UASimpleAttributeOperand, in languages that support implicit conversion operators (such as C# or VB.NET), you can simply use the returned OpcLabs.EasyOpc.UA.Filtering.UASimpleAttributeOperand in any place where OpcLabs.EasyOpc.UA.UAAttributeField is expected as input, and the corresponding OPC UA attribute field will be constructed automatically. When the implicit conversion operators are not supported (such as with Python.NET), you can use the OpcLabs.EasyOpc.UA.UAAttributeField.FromUASimpleAttributeOperand 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