# OpcTypes Class

<span class="api-meta">static · since v2.8</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">OpcTypes Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Provides a set of static (Shared in Visual Basic) services to maintain different types used in the ecosystem of an OPC UA Server.

## Syntax

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

```csharp
public static class OpcTypes
```

</div>

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

```vbnet
Public Module OpcTypes
```

</div>

## Inheritance

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

## Methods

| Name | Description |
|---|---|
| [Register](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctypes/members#register)<span class="api-meta">static · 3 overloads</span> | Registers the types in the `assembly` specified. |
| [Unregister](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctypes/members#unregister)<span class="api-meta">static · 3 overloads</span> | Unregisters the types in the `assembly` specified. |

## Events

| Name | Description |
|---|---|
| [DecodingFailed](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctypes/members#decodingfailed)<span class="api-meta">static</span> | Occurs when the decoding has failed. |
| [EncodingFailed](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctypes/members#encodingfailed)<span class="api-meta">static</span> | Occurs when the encoding has failed. |

## Applies to

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