Skip to content

Reference

OpcEnumMemberAttribute Class

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 Class ​

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

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.

Syntax ​

csharp
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public class OpcEnumMemberAttribute : Attribute
vbnet
<AttributeUsage(AttributeTargets.Field, AllowMultiple:=False, Inherited:=False)>
Public Class OpcEnumMemberAttribute
    Inherits Attribute

Inheritance ​

Object → Attribute → OpcEnumMemberAttribute

Constructors ​

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

Properties ​

NameDescription
DescriptionGets or sets the description of the enumeration member which defines the purpose of the member.
NameGets the name of the enumeration member which unique identifies the member in the enumeration.

Inherits members from Attribute.

Applies to ​

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