Reference
OpcEnumField Members
Represents a field of an enumeration defined using OpcEnum.
Reference
OpcEnumField Members
- Type
- OpcEnumField
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Constructors
OpcEnumField
| Overload | Description |
|---|---|
| OpcEnumField( | Initializes a new instance of the OpcEnumField class using the unique name of the enumeration field to define. |
| OpcEnumField( | Initializes a new instance of the OpcEnumField class using the unique name and value of the enumeration field to define. |
| OpcEnumField( | Initializes a new instance of the OpcEnumField class using the unique name, value and description of the enumeration field to define. |
OpcEnumField(string)
Initializes a new instance of the OpcEnumField class using the unique name of the enumeration field to define.
public OpcEnumField(string name)Public Sub New(name As String)Parameters
| Name | Type | Description |
|---|---|---|
name | String | The name of the enumeration field which unique identifies the field in the enumeration. |
OpcEnumField(string, long)
Initializes a new instance of the OpcEnumField class using the unique name and value of the enumeration field to define.
public OpcEnumField(string name, long value)Public Sub New(name As String, value As Long)Parameters
| Name | Type | Description |
|---|---|---|
name | String | The name of the enumeration field which unique identifies the field in the enumeration. |
value | Int64 | The value of the enumeration field. |
OpcEnumField(string, long, string)
Initializes a new instance of the OpcEnumField class using the unique name, value and description of the enumeration field to define.
public OpcEnumField(string name, long value, string description)Public Sub New(name As String, value As Long, description As String)Parameters
| Name | Type | Description |
|---|---|---|
name | String | The name of the enumeration field which unique identifies the field in the enumeration. |
value | Int64 | The value of the enumeration field. |
description | String | The description of the purpose of the enumeration field. |
Properties
Description
Gets description of the enumeration field which defines the purpose of the field.
public string Description { get; }Public ReadOnly Property Description As StringProperty value
The description of the purpose of the enumeration field represented.
Name
Gets the name of the enumeration field which unique identifies the field in the enumeration.
public string Name { get; }Public ReadOnly Property Name As StringProperty value
The unique name of the enumeration field.
Value
Gets the value of the enumeration field.
public long Value { get; }Public ReadOnly Property Value As LongProperty value
The value of the enumeration field.

