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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections Namespace > ElasticVector Class : 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
 
Public 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)
public void SetAt( 
   int index,
   object value
)
public:
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