OPC Studio User's Guide and Reference
OneOrMoreDimensions Field



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAValueRanks Class : OneOrMoreDimensions Field
The variable is always an array with one or more dimensions. Equals to 0.
Syntax
'Declaration
 
Public Const OneOrMoreDimensions As Integer
'Usage
 
Dim value As Integer
 
value = UAValueRanks.OneOrMoreDimensions
public const int OneOrMoreDimensions
public:
const int OneOrMoreDimensions
Remarks

This value rank is used to specify that the variable's value is always an array, but the number of dimensions is not specified. It must have at least one dimension, but could have more. This is useful for variables that can hold arrays of varying dimensions but cannot be a scalar.

The corresponding traditional array rank value would be 1, 2, 3, ... .

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