OPC Studio User's Guide and Reference
AsEnumTypeInfo Method (_UADataTypeInfo)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.DataTypeSchema.ComTypes Namespace > _UADataTypeInfo 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 _UADataTypeInfo
Dim value As UAEnumTypeInfo
 
value = instance.AsEnumTypeInfo()
[CanBeNull()]
UAEnumTypeInfo AsEnumTypeInfo()
[CanBeNull()]
UAEnumTypeInfo^ AsEnumTypeInfo(); 
Remarks

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