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 : Attributevbnet
<AttributeUsage(AttributeTargets.Field, AllowMultiple:=False, Inherited:=False)>
Public Class OpcEnumMemberAttribute
Inherits AttributeInheritance
Object → Attribute → OpcEnumMemberAttribute
Constructors
| Name | Description |
|---|---|
| Opc | Initializes a new instance of the Opcname of the enumeration member to that the attribute belongs. |
Properties
| Name | Description |
|---|---|
| Description | Gets or sets the description of the enumeration member which defines the purpose of the member. |
| Name | Gets the name of the enumeration member which unique identifies the member in the enumeration. |
Inherits members from Attribute.
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

