Reference
OpcEnumAttribute Members
Defines a custom configuration to use to define an enumeration and its members.
Reference
OpcEnumAttribute Members
- Type
- OpcEnumAttribute
- 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
OpcEnumAttribute
Initializes a new instance of the OpcEnumAttribute class using the type of enumeration to define.
public OpcEnumAttribute(OpcEnumType type)Public Sub New(type As OpcEnumType)Parameters
| Name | Type | Description |
|---|---|---|
type | OpcEnumType | One of the members defined by the OpcEnumType enumeration. |
Properties
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.
public bool AutoDescribe { get; set; }Public Property AutoDescribe As BooleanProperty value
The value true if the description (if unspecified) is to be automatically generated; otherwise the value false. The default value is true if Type is equals to Default or Values.
Remarks
This option only applies to enumerations which are laid out using enumeration values (see Values).
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.
public bool GroupMembers { get; set; }Public Property GroupMembers As BooleanProperty value
The value true if the members with the same value are to be grouped into one member; otherwise the value false. The default value is true if Type is equals to Default or Strings.
Remarks
This option only applies to enumerations which are laid out using enumeration strings (see Strings).
Members
Gets or sets the criterions to use to select the appropriate members of an enumeration type to respect to definde the enumeration members.
public OpcEnumMemberOrigins Members { get; set; }Public Property Members As OpcEnumMemberOriginsProperty value
A combination of the members defined by the OpcEnumMemberOrigins enumeration.
Type
Gets the way used to define the enumeration using its members.
public OpcEnumType Type { get; }Public ReadOnly Property Type As OpcEnumTypeProperty value
One of the members defined by the OpcEnumType enumeration.

