# OpcEnumField Class

> Reference: Represents a field of an enumeration defined using OpcEnum.

<span class="api-meta">since v2.53</span>

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Members</dt>
<dd><a href="./members">OpcEnumField Members</a></dd>
</dl>

Represents a field of an enumeration defined using [OpcEnum](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcenum/).

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
public class OpcEnumField
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
Public Class OpcEnumField
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → **OpcEnumField**

## Constructors

| Name | Description |
|---|---|
| [OpcEnumField](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcenumfield/members#opcenumfield)<span class="api-meta">3 overloads</span> | Initializes a new instance of the OpcEnumField class using the unique `name` of the enumeration field to define. |

## Properties

| Name | Description |
|---|---|
| [Description](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcenumfield/members#description) | Gets description of the enumeration field which defines the purpose of the field. |
| [Name](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcenumfield/members#name) | Gets the name of the enumeration field which unique identifies the field in the enumeration. |
| [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcenumfield/members#value) | Gets the value of the enumeration field. |

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.53–v2.59 |
