Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll
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.
C#
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = false)] public class OpcEnumMemberAttribute : Attribute, _Attribute
Inheritance Object › Attribute › OpcEnumMemberAttribute
Attributes AttributeUsageAttribute
Implements InteropServices._Attribute
Name | Description |
---|---|
OpcEnumMemberAttribute(String) | Initializes a new instance of the OpcEnumMemberAttribute class using the unique name of the enumeration member to that the attribute belongs. |
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. |