Skip to content

Reference

OpcEnum Class

Defines an enumeration data type at runtime, e.g. to provide it by a server using Create.

Reference

OpcEnum Class ​

since v2.53

Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Members
OpcEnum Members

Defines an enumeration data type at runtime, e.g. to provide it by a server using Create.

Syntax ​

csharp
public class OpcEnum
vbnet
Public Class OpcEnum

Inheritance ​

Object → OpcEnum

Implements ​

Properties ​

NameDescription
IdGets the identifier of the enumeration.
NameGets the name of the enumeration.
TypeGets the way the members of the enumeration are described.

Methods ​

NameDescription
CreateTypeInfoCreates the type information of the enumeration using the context and the typeId specified.
DefineStringsstatic · 4 overloadsDefines an enumeration whose members are described by enumeration strings (see Strings).
DefineValuesstatic · 4 overloadsDefines an enumeration whose members are described by enumeration values (see Values).
GetFieldsReturns the fields of the enumeration.
GetNamesReturns the names of the fields of the enumeration.
GetValues3 overloadsRetrieves the enumeration values from the enumeration type specified T.

Applies to ​

PackageVersions
Opc.UaFx.Advancedv2.53–v2.59