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



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

Parameters

index

Property Value

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

Remarks

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 a OpcLabs.EasyOpc.UA.Filtering.UASimpleAttributeOperand in place of OpcLabs.EasyOpc.UA.UAAttributeField value when setting this property, 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 FromUASimpleAttributeOperand static method instead.

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