Skip to content

Reference

OpcEnumMemberAttribute Members

Defines custom metadata which is used when a member of an enumeration is to be used as a "EnumString" or "EnumValue" of a custom data type node representing an enumerated type.

Reference

OpcEnumMemberAttribute Members ​

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

Inherits members from Attribute.

Constructors ​

OpcEnumMemberAttribute ​

Initializes a new instance of the OpcEnumMemberAttribute class using the unique name of the enumeration member to that the attribute belongs.

csharp
public OpcEnumMemberAttribute(string name)
vbnet
Public Sub New(name As String)

Parameters

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

Properties ​

Description ​

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

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

Property value

String

The description of the purpose of the enmeration member to the attribute belong.

Remarks

This property is only used for "EnumValue" definitions.

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.

Remarks

This property is used for "EnumString" and "EnumValue" definitions.