# OpcDataTypeNodeInfo Members

> Reference: Provides properties and methods for the examination of the attributes and references of a node which is classified as DataType.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcDataTypeNodeInfo</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>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Inherits members from [OpcTypeNodeInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opctypenodeinfo/members), [OpcNodeInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcnodeinfo/members).

## Methods

### GetEncodingIds

Retrieves the node identifiers of the nodes which are referenced using the [HasEncoding](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hasencoding) reference.

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

```csharp
public OpcNodeId[] GetEncodingIds()
```

</div>

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

```vbnet
Public Function GetEncodingIds() As OpcNodeId()
```

</div>

**Returns**

[OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/)[]

An array of [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) objects identifying the nodes which are referenced by the current [OpcDataTypeNodeInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdatatypenodeinfo/).

**Remarks**

The time consumed by the first call of the method depends on the availability of the server, because of the nodes are requested on-demand and are cached for subsequent calls. This means, that further requests will take use of already retrieved node information and will not demand additional network resources.

### GetEncodings

Retrieves all nodes which are referenced using the [HasEncoding](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hasencoding) reference for which the according [OpcNodeInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcnodeinfo/) is represented by the [OpcDataTypeEncodingNodeInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdatatypeencodingnodeinfo/) class.

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

```csharp
public OpcDataTypeEncodingNodeInfo[] GetEncodings()
```

</div>

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

```vbnet
Public Function GetEncodings() As OpcDataTypeEncodingNodeInfo()
```

</div>

**Returns**

[OpcDataTypeEncodingNodeInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdatatypeencodingnodeinfo/)[]

An array of [OpcDataTypeEncodingNodeInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdatatypeencodingnodeinfo/) objects referenced by the current [OpcDataTypeNodeInfo](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdatatypenodeinfo/).

**Remarks**

The time consumed by the first call of the method depends on the availability of the server, because of the nodes are requested on-demand and are cached for subsequent calls. This means, that further requests will take use of already retrieved node information and will not demand additional network resources.
