# OpcDataTypes Class

> Reference: Provides the identifiers of the data types of OPC UA and methods to map between .NET types, the members of OpcDataType and the identifiers of data types.

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

Provides the identifiers of the data types of OPC UA and methods to map between .NET types, the members of [OpcDataType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatype/) and the identifiers of data types.

## Syntax

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

```csharp
public static class OpcDataTypes
```

</div>

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

```vbnet
Public Module OpcDataTypes
```

</div>

## Inheritance

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

## Fields

| Name | Description |
|---|---|
| [Boolean](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#boolean)<span class="api-meta">static</span> | Identifies the Boolean data type. |
| [Byte](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#byte)<span class="api-meta">static</span> | Identifies the Byte data type. |
| [ByteString](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#bytestring)<span class="api-meta">static</span> | Identifies the ByteString data type. |
| [DateTime](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#datetime)<span class="api-meta">static</span> | Identifies the DateTime data type. |
| [DiagnosticInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#diagnosticinfo)<span class="api-meta">static</span> | Identifies the DiagnosticInfo data type. |
| [Double](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#double)<span class="api-meta">static</span> | Identifies the Double data type. |
| [EngineeringUnitInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#engineeringunitinfo)<span class="api-meta">static</span> | Identifies the EUInformation data type. |
| [Enumeration](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#enumeration)<span class="api-meta">static</span> | Identifies the Enumeration data type. |
| [ExpandedNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#expandednodeid)<span class="api-meta">static</span> | Identifies the ExpandedNodeId data type. |
| [Float](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#float)<span class="api-meta">static</span> | Identifies the Float data type. |
| [Guid](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#guid)<span class="api-meta">static</span> | Identifies the Guid data type. |
| [Int16](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#int16)<span class="api-meta">static</span> | Identifies the Int16 data type. |
| [Int32](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#int32)<span class="api-meta">static</span> | Identifies the Int32 data type. |
| [Int64](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#int64)<span class="api-meta">static</span> | Identifies the Int64 data type. |
| [Integer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#integer)<span class="api-meta">static</span> | Identifies the Integer data type. |
| [LocalizedText](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#localizedtext)<span class="api-meta">static</span> | Identifies the LocalizedText data type. |
| [NodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#nodeid)<span class="api-meta">static</span> | Identifies the NodeId data type. |
| [Number](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#number)<span class="api-meta">static</span> | Identifies the Number data type. |
| [QualifiedName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#qualifiedname)<span class="api-meta">static</span> | Identifies the QualifiedName data type. |
| [SByte](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#sbyte)<span class="api-meta">static</span> | Identifies the SByte data type. |
| [Status](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#status)<span class="api-meta">static</span> | Identifies the StatusCode data type. |
| [String](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#string)<span class="api-meta">static</span> | Identifies the String data type. |
| [UInt16](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#uint16)<span class="api-meta">static</span> | Identifies the UInt16 data type. |
| [UInt32](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#uint32)<span class="api-meta">static</span> | Identifies the UInt32 data type. |
| [UInt64](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#uint64)<span class="api-meta">static</span> | Identifies the UInt64 data type. |
| [UInteger](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#uinteger)<span class="api-meta">static</span> | Identifies the UInteger data type. |
| [Value](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#value)<span class="api-meta">static</span> | Identifies the DataValue data type. |
| [ValueRange](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#valuerange)<span class="api-meta">static</span> | Identifies the Range data type. |
| [XmlElement](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#xmlelement)<span class="api-meta">static</span> | Identifies the XmlElement data type. |

## Methods

| Name | Description |
|---|---|
| [GetArrayDimensions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#getarraydimensions)<span class="api-meta">static · 4 overloads</span> | Determines the array dimensions of the type specified by `T`. |
| [GetDataType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#getdatatype)<span class="api-meta">static · 3 overloads</span> | Determines the built-in data type of the type specified by `T`. |
| [GetDefaultValue](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#getdefaultvalue)<span class="api-meta">static · 2 overloads</span> | Determines the default value OPC UA defines for the data type of the type specified by `T`. |
| [GetNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#getnodeid)<span class="api-meta">static · 4 overloads</span> | Determines the identifier of the data type of the type specified by `T`. |
| [GetUnderlyingType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#getunderlyingtype)<span class="api-meta">static · 2 overloads · since v2.10</span> | Determines the .NET type used for values of the data type specified. |
| [GetValueRank](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatatypes/members#getvaluerank)<span class="api-meta">static · 4 overloads</span> | Determines the value rank of the type specified by `T`. |

## Applies to

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