# OpcClient.UseDynamic Property

> Reference: Gets or sets a value indicating whether the current OpcClient shall use generic types to represent OPC UA server defined custom types.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcClient</a></dd>
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.client">Opc.UaFx.Client</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">OpcClient Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

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

Gets or sets a value indicating whether the current [OpcClient](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/) shall use generic types to represent OPC UA server defined custom types. To do so the client will determine the necessary type information from the server directly after a connection to the server has been established using [Connect](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/connect).

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

```csharp
public bool UseDynamic { get; set; }
```

</div>

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

```vbnet
Public Property UseDynamic As Boolean
```

</div>

**Property value**

[Boolean](https://learn.microsoft.com/dotnet/api/system.boolean)

The value true if the current [OpcClient](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcclient/) shall use generic types constructed from the type information offered by the server; otherwise the value false. The default value is determined by the [UseDynamic](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcautomatism/members#usedynamic) property.
