OpcEnumAttribute Class

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

Defines a custom configuration to use to define an enumeration and its members.

C#

[AttributeUsage(AttributeTargets.Enum, AllowMultiple = false, Inherited = false)]
public class OpcEnumAttribute : Attribute, _Attribute


Inheritance ObjectAttribute › OpcEnumAttribute


Attributes AttributeUsageAttribute


Implements InteropServices._Attribute

Name Description
OpcEnumAttribute(OpcEnumType) Initializes a new instance of the OpcEnumAttribute class using the type of enumeration to define.
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.