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.

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

The individual elements of the parameter value can be null (Nothing in Visual Basic).

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.

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

The individual elements of the parameter value can be null (Nothing in Visual Basic).

Remarks

The old content of the elastic vector is lost.

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