# OpcReferenceDirection Enum

<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>

Specifies the direction of a reference between two nodes.

## Syntax

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

```csharp
public enum OpcReferenceDirection
```

</div>

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

```vbnet
Public Enum OpcReferenceDirection
```

</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) → **OpcReferenceDirection**

## Fields

| Name | Value | Description |
|---|---|---|
| <a id="childtoparent"></a>`ChildToParent` | `1` | The reference is an inverse reference, from the child node to the parent node. |
| <a id="parenttochild"></a>`ParentToChild` | `0` | The reference is a forward reference, from the parent node to the child node. |

## Applies to

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