QuickOPC User's Guide and Reference
AsEnumTypeInfo Method (_UAEnumTypeInfo)



View with Navigation Tools
OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes Namespace > _UAEnumTypeInfo Interface : AsEnumTypeInfo Method
The current OPC UA data type info expressed as enum type info.
Syntax
'Declaration
 
<CanBeNullAttribute()>
Function AsEnumTypeInfo() As UAEnumTypeInfo
 
'Usage
 
Dim instance As _UAEnumTypeInfo
Dim value As UAEnumTypeInfo
 
value = instance.AsEnumTypeInfo()
Remarks

Returns null if the current OPC UA data type info is not a enum 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