QuickOPC User's Guide and Reference
AsSimpleTypeInfo Method (UADataTypeInfoExtension)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema.Extensions Namespace > UADataTypeInfoExtension Class : AsSimpleTypeInfo Method
The current OPC UA data type info expressed as simple type info.
Syntax
'Declaration
 
<ExtensionAttribute()>
<CanBeNullAttribute()>
Public Shared Function AsSimpleTypeInfo( _
   ByVal dataTypeInfo As UADataTypeInfo _
) As UASimpleTypeInfo
'Usage
 
Dim dataTypeInfo As UADataTypeInfo
Dim value As UASimpleTypeInfo
 
value = UADataTypeInfoExtension.AsSimpleTypeInfo(dataTypeInfo)
[Extension()]
[CanBeNull()]
public static UASimpleTypeInfo AsSimpleTypeInfo( 
   UADataTypeInfo dataTypeInfo
)
[Extension()]
[CanBeNull()]
public:
static UASimpleTypeInfo^ AsSimpleTypeInfo( 
   UADataTypeInfo^ dataTypeInfo
) 

Parameters

dataTypeInfo
Remarks

Returns null if the current OPC UA data type info is not a simple type info.

This method has been introduced primarily for languages like PHP that do not allow down-casting.

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