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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections.ComTypes Namespace > _ElasticVector Interface : Assign Method
The array object to be used by the elastic vector.
Assigns the underlying array object of the elastic vector.
Syntax
'Declaration
 
Sub Assign( _
   ByVal objectArray As Object _
) 
'Usage
 
Dim instance As _ElasticVector
Dim objectArray As Object
 
instance.Assign(objectArray)
void Assign( 
   object objectArray
)
void Assign( 
   Object^ objectArray
) 

Parameters

objectArray
The array object to be used by the elastic vector.
Remarks

The old content of the elastic vector is lost.

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