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();
}
Remarks

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

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