QuickOPC 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
 
<DefaultValueAttribute(-1)>
Public ReadOnly Property UpperBound As Integer
'Usage
 
Dim instance As ElasticVector
Dim value As Integer
 
value = instance.UpperBound
[DefaultValue(-1)]
public int UpperBound {get;}
[DefaultValue(-1)]
public:
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