OPC Studio User's Guide and Reference
UpperBound Property (_ElasticVector)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections.ComTypes Namespace > _ElasticVector Interface : UpperBound Property
Gets the index of the last element in the elastic vector.
Syntax
'Declaration
 
ReadOnly Property UpperBound As Integer
'Usage
 
Dim instance As _ElasticVector
Dim value As Integer
 
value = instance.UpperBound
int UpperBound {get;}
property int UpperBound {
   int get();
}

Property Value

The default value of this property is -1.

Remarks

The upper dimension is -1 if the elastic vector is empty.

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