OPC Studio User's Guide and Reference
GetAt Method (_ElasticVector)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections.ComTypes Namespace > _ElasticVector Interface : GetAt Method
The index of the element to get.
Gets the element at the specified index.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Function GetAt( _
   ByVal index As Integer _
) As Object
'Usage
 
Dim instance As _ElasticVector
Dim index As Integer
Dim value As Object
 
value = instance.GetAt(index)
[CanBeNull()]
object GetAt( 
   int index
)
[CanBeNull()]
Object^ GetAt( 
   int index
) 

Parameters

index
The index of the element to get.

Return Value

The element with the specified index.
Remarks

The elasticity dot not apply in this method. The index must fall into the current bounds of the elastic vector.

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