Determines .NET type of OPC-UA Value attribute with given data type and value rank, specifying a value hint.
Syntax
'Declaration
<NotNullAttribute()>
Public Overloads Shared Function GetValueType( _
ByVal As Type, _
ByVal As Integer, _
ByVal As Object _
) As Type
'Usage
Dim dataType As Type
Dim valueRank As Integer
Dim valueHint As Object
Dim value As Type
value = UAType.GetValueType(dataType, valueRank, valueHint)
[NotNull()]
public static Type GetValueType(
Type ,
int ,
object
)
[NotNull()]
public:
static Type^ GetValueType(
Type^ ,
int ,
Object^
)
Parameters
- dataType
- The data type.
The value of this parameter cannot be null
(Nothing
in Visual Basic).
- valueRank
- The value rank.
- valueHint
- A value that may help determining the (rank of the resulting array) type.
The value of this parameter can be null
(Nothing
in Visual Basic).
Return Value
Returns the .NET type of OPC-UA Value attribute.
This method never returns null
(Nothing
in Visual Basic).
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