# OpcEnumType Enum

<span class="api-meta">since v2.20</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>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Defines in which way the members of an enumeration are to defined.

## Syntax

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

```csharp
public enum OpcEnumType
```

</div>

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

```vbnet
Public Enum OpcEnumType
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [ValueType](https://learn.microsoft.com/dotnet/api/system.valuetype) → [Enum](https://learn.microsoft.com/dotnet/api/system.enum) → **OpcEnumType**

## Fields

| Name | Value | Description |
|---|---|---|
| <a id="default"></a>`Default` | `0` | If the enumeration defines the [FlagsAttribute](https://learn.microsoft.com/dotnet/api/system.flagsattribute) the members are laid out using enumeration values (see [Values](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcenumtype/#values)); otherwise enumeration strings (see [Strings](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcenumtype/#strings)). |
| <a id="strings"></a>`Strings` | `2` | The members of the enumeration are defined using enumeration strings. |
| <a id="values"></a>`Values` | `1` | The members of the enumeration are defined using enumeration values. |

## Applies to

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