QuickOPC User's Guide and Reference
Item Property (ElasticVector)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections Namespace > ElasticVector Class : Item Property
The index of the element to get or set.
Gets or sets the element at the specified index.
Syntax
'Declaration
 
Public Default Property Item( _
   ByVal index As Integer _
) As Object
'Usage
 
Dim instance As ElasticVector
Dim index As Integer
Dim value As Object
 
instance.Item(index) = value
 
value = instance.Item(index)
public object this[ 
   int index
]; {get; set;}
public:
property Object^ default [int] {
   Object^ get(int index);
   void set (int index, Object^ value);
}

Parameters

index
The index of the element to get or set.

Property Value

The element at the specified index.
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