# OpcReferenceTypes Class

<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">OpcReferenceTypes Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Provides additional metadata and service routines for the different types of references supported and defined by the OPC UA Foundation Stack.

## Syntax

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

```csharp
public static class OpcReferenceTypes
```

</div>

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

```vbnet
Public Module OpcReferenceTypes
```

</div>

## Inheritance

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

## Fields

| Name | Description |
|---|---|
| [Aggregates](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#aggregates)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [Aggregates](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#aggregates). |
| [AlwaysGeneratesEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#alwaysgeneratesevent)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [AlwaysGeneratesEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#alwaysgeneratesevent). |
| [FromState](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#fromstate)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [FromState](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#fromstate). |
| [GeneratesEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#generatesevent)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [GeneratesEvent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#generatesevent). |
| [HasCause](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hascause)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasCause](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hascause). |
| [HasChild](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#haschild)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasChild](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#haschild). |
| [HasComponent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hascomponent)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasComponent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hascomponent). |
| [HasCondition](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hascondition)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasCondition](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hascondition). |
| [HasDescription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hasdescription)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasDescription](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hasdescription). |
| [HasEffect](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#haseffect)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasEffect](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#haseffect). |
| [HasEncoding](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hasencoding)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasEncoding](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hasencoding). |
| [HasEventSource](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#haseventsource)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasEventSource](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#haseventsource). |
| [HasFalseSubState](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hasfalsesubstate)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasFalseSubState](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hasfalsesubstate). |
| [HasHistoricalConfiguration](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hashistoricalconfiguration)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasHistoricalConfiguration](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hashistoricalconfiguration). |
| [HasModellingRule](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hasmodellingrule)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasModellingRule](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hasmodellingrule). |
| [HasNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hasnotifier)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasNotifier](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hasnotifier). |
| [HasOrderedComponent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hasorderedcomponent)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasOrderedComponent](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hasorderedcomponent). |
| [HasProperty](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hasproperty)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasProperty](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hasproperty). |
| [HasSubStateMachine](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hassubstatemachine)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasSubStateMachine](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hassubstatemachine). |
| [HasSubtype](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hassubtype)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasSubtype](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hassubtype). |
| [HasTrueSubState](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hastruesubstate)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasTrueSubState](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hastruesubstate). |
| [HasTypeDefinition](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hastypedefinition)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HasTypeDefinition](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hastypedefinition). |
| [HierarchicalReferences](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#hierarchicalreferences)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [HierarchicalReferences](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#hierarchicalreferences). |
| [NonHierarchicalReferences](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#nonhierarchicalreferences)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [NonHierarchicalReferences](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#nonhierarchicalreferences). |
| [Organizes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#organizes)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [Organizes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#organizes). |
| [References](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#references)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [References](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#references). |
| [ToState](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#tostate)<span class="api-meta">static</span> | Provides the identifier used by references representing the reference type [ToState](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/#tostate). |

## Methods

| Name | Description |
|---|---|
| [GetNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#getnodeid)<span class="api-meta">static</span> | Retrieves the according [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) for the type of reference defined by the [OpcReferenceType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/) specified by `type`. |
| [GetReferenceType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#getreferencetype)<span class="api-meta">static · 2 overloads</span> | Retrieves the according [OpcReferenceType](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetype/) enumeration member for the `nodeId` used by a specified type of reference. |
| [GetReferenceTypeName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcreferencetypes/members#getreferencetypename)<span class="api-meta">static · since v2.18</span> | Retrieves the according [OpcName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcname/) indicating the [BrowseName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcattribute/#browsename) of the type of reference identified by `nodeId`. |

## Applies to

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