QuickOPC User's Guide and Reference
Resize Method (_ElasticVector)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections.ComTypes Namespace > _ElasticVector Interface : Resize Method
The new size of the elastic vector.
Changes the number of elements of an elastic vector to the specified new size.
Syntax
'Declaration
 
Sub Resize( _
   ByVal newSize As Integer _
) 
'Usage
 
Dim instance As _ElasticVector
Dim newSize As Integer
 
instance.Resize(newSize)
void Resize( 
   int newSize
)
void Resize( 
   int newSize
) 

Parameters

newSize
The new size of the elastic vector.
Remarks

As opposed to Resize, the elastic vector does not have to be zero-based

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