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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections Namespace > ElasticVector Class : UpperBound Property
Gets the index of the last element in the elastic vector.
Syntax
'Declaration
 
Public ReadOnly Property UpperBound As Integer
'Usage
 
Dim instance As ElasticVector
Dim value As Integer
 
value = instance.UpperBound
public int UpperBound {get;}
public:
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.

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