OPC Studio User's Guide and Reference
ScalarOrOneDimension Field



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAValueRanks Class : ScalarOrOneDimension Field
The variable may be a scalar or a one dimensional array. Equals to -3.
Syntax
'Declaration
 
Public Const ScalarOrOneDimension As Integer
'Usage
 
Dim value As Integer
 
value = UAValueRanks.ScalarOrOneDimension
public const int ScalarOrOneDimension
public:
const int ScalarOrOneDimension
Remarks

Indicates that the variable may either be a scalar value or a one-dimensional array.

This value rank is used to specify that the variable's value can change between being a single value (scalar) or an array with a single dimension. It provides flexibility in the types of data the variable can hold.

The corresponding traditional array rank value would be 0 or 1.

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