Skip to content

Reference

OpcEnumMember Members

Defines the metadata required to represent a member of an enumerated type definition.

Reference

OpcEnumMember Members ​

Type
OpcEnumMember
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Constructors ​

OpcEnumMember ​

2 overloads

OverloadDescription
OpcEnumMember(string, long)Initializes a new instance of the OpcEnumMember class using the unique name and value of the enumeration member to define.
OpcEnumMember(string, long, string)Initializes a new instance of the OpcEnumMember class using the unique name, value and description of the enumeration member to define.

OpcEnumMember(string, long) ​

Initializes a new instance of the OpcEnumMember class using the unique name and value of the enumeration member to define.

csharp
public OpcEnumMember(string name, long value)
vbnet
Public Sub New(name As String, value As Long)

Parameters

NameTypeDescription
nameStringThe name of the enumeration member which unique identifies the member in the enumeration.
valueInt64The value of the enumeration member.

OpcEnumMember(string, long, string) ​

Initializes a new instance of the OpcEnumMember class using the unique name, value and description of the enumeration member to define.

csharp
public OpcEnumMember(string name, long value, string description)
vbnet
Public Sub New(name As String, value As Long, description As String)

Parameters

NameTypeDescription
nameStringThe name of the enumeration member which unique identifies the member in the enumeration.
valueInt64The value of the enumeration member.
descriptionStringThe description of the purpose of the enumeration member.

Properties ​

Description ​

Gets description of the enumeration member which defines the purpose of the member.

csharp
public string Description { get; }
vbnet
Public ReadOnly Property Description As String

Property value

String

The description of the purpose of the enmeration member represented.

Name ​

Gets the name of the enumeration member which unique identifies the member in the enumeration.

csharp
public string Name { get; }
vbnet
Public ReadOnly Property Name As String

Property value

String

The unique name of the enumeration member.

Value ​

Gets the value of the enumeration member.

csharp
public long Value { get; }
vbnet
Public ReadOnly Property Value As Long

Property value

Int64

The value of the enumeration member.