QuickOPC User's Guide and Reference
ValueSpecsToString Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UAUtilities Class : ValueSpecsToString Method
An OPC UA built-in type.
OPC UA value rank (an integer).
Array dimensions.
Converts OPC UA value specs (the built-in type, the value rank, an array dimensions) to their string representation.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared Function ValueSpecsToString( _
   ByVal builtInType As UABuiltInType, _
   ByVal valueRank As Integer, _
   ByVal arrayDimensions() As Integer _
) As String
'Usage
 
Dim builtInType As UABuiltInType
Dim valueRank As Integer
Dim arrayDimensions() As Integer
Dim value As String
 
value = UAUtilities.ValueSpecsToString(builtInType, valueRank, arrayDimensions)
[NotNull()]
public static string ValueSpecsToString( 
   UABuiltInType builtInType,
   int valueRank,
   int[] arrayDimensions
)
[NotNull()]
public:
static String^ ValueSpecsToString( 
   UABuiltInType builtInType,
   int valueRank,
   array<int>^ arrayDimensions
) 

Parameters

builtInType
An OPC UA built-in type.
valueRank
OPC UA value rank (an integer).
arrayDimensions
Array dimensions.

Return Value

Returns a string representation of the given OPC UA value specs.
Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

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