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.

This method can return null (Nothing in Visual Basic).

Remarks

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

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