OPC Studio User's Guide and Reference
TwoDimensions Field



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

This value rank is used to specify that the variable's value is always an array with two dimensions. It is suitable for variables that represent matrices or higher-dimensional data structures where elements can be accessed by two indices.

The corresponding traditional array rank value would be also 2.

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