Reference
OpcEnumAttribute Class
Defines a custom configuration to use to define an enumeration and its members.
Reference
OpcEnumAttribute Class
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
- Members
- OpcEnumAttribute Members
- Also in
- Opc.UaFx.Client
Defines a custom configuration to use to define an enumeration and its members.
Syntax
csharp
[AttributeUsage(AttributeTargets.Enum, AllowMultiple = false, Inherited = false)]
public class OpcEnumAttribute : Attributevbnet
<AttributeUsage(AttributeTargets.Enum, AllowMultiple:=False, Inherited:=False)>
Public Class OpcEnumAttribute
Inherits AttributeInheritance
Object → Attribute → OpcEnumAttribute
Constructors
| Name | Description |
|---|---|
| OpcEnumAttribute | Initializes a new instance of the OpcEnumAttribute class using the type of enumeration to define. |
Properties
| Name | Description |
|---|---|
| AutoDescribe | Gets or sets a value indicating whether the description of enumeration values is to be automatically generated using the name of the members which can be combined to represent the value of the member. |
| GroupMembers | Gets or sets a value indicating whether the members are to be grouped by their value to unambiguously use one numeric value used by different members. |
| Members | Gets or sets the criterions to use to select the appropriate members of an enumeration type to respect to definde the enumeration members. |
| Type | Gets the way used to define the enumeration using its members. |
Inherits members from Attribute.
Applies to
| Package | Versions |
|---|---|
| Opc. | v2. |

