Converts an array rank to OPC UA value rank.
Syntax
'Declaration
Public Shared Function ArrayRankToValueRank( _
ByVal As Integer _
) As Integer
'Usage
Dim arrayRank As Integer
Dim value As Integer
value = UAUtilities.ArrayRankToValueRank(arrayRank)
public static int ArrayRankToValueRank(
int
)
public:
static int ArrayRankToValueRank(
int
)
Parameters
- arrayRank
- A common array rank to be converted.
Return Value
Returns an OPC UA value rank (one of
UAValueRanks values) that corresponds to the common array rank .
Exceptions
Exception | Description |
System.ArgumentOutOfRangeException |
The value of an argument is outside the allowable range of values as defined by the invoked method.
This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |
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