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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections.ComTypes Namespace > _ElasticVector Interface : SetAt Method
The index of the element to set.
The element to be set at the specified index.

The value of this parameter can be null (Nothing in Visual Basic).

Sets the element at the specified index.
Syntax
'Declaration
 
Sub SetAt( _
   ByVal index As Integer, _
   ByVal value As Object _
) 
'Usage
 
Dim instance As _ElasticVector
Dim index As Integer
Dim value As Object
 
instance.SetAt(index, value)
void SetAt( 
   int index,
   object value
)
void SetAt( 
   int index,
   Object^ value
) 

Parameters

index
The index of the element to set.
value
The element to be set at the specified index.

The value of this parameter can be null (Nothing in Visual Basic).

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