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.
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.
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