# OpcAddressSpace Class

> Reference: Represents the address space which the callback of an OpcServer (e.g. OpcServer) receives to create the nodes of the server.

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx.server">Opc.UaFx.Server</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">OpcAddressSpace Members</a></dd>
</dl>

Represents the address space which the callback of an [OpcServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserver/) (e.g. [OpcServer](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcserver/members#opcserver-system-action-of-opc-uafx-server-opcaddressspace)) receives to create the nodes of the server.

## Syntax

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

```csharp
public class OpcAddressSpace
```

</div>

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

```vbnet
Public Class OpcAddressSpace
```

</div>

## Inheritance

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

## Properties

| Name | Description |
|---|---|
| [DefaultNamespace](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaddressspace/members#defaultnamespace) | Gets the default namespace of the [Manager](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaddressspace/members#manager). |
| [DefaultNamespaceIndex](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaddressspace/members#defaultnamespaceindex) | Gets the index of the default namespace of the [Manager](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaddressspace/members#manager). |
| [DefaultNamespaceUri](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaddressspace/members#defaultnamespaceuri) | Gets the URI of the default namespace of the [Manager](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaddressspace/members#manager). |
| [Manager](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaddressspace/members#manager) | Gets the node manager which creates the nodes of the address space. |
| [Namespaces](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaddressspace/members#namespaces)<span class="api-meta">since v2.8</span> | Gets the namespaces maintained by the [Manager](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaddressspace/members#manager). |
| [Nodes](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaddressspace/members#nodes) | Gets the nodes to add to the address space. |
| [References](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaddressspace/members#references) | Gets the references of the nodes to their parent nodes. |

## Methods

| Name | Description |
|---|---|
| [AddNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaddressspace/members#addnode)<span class="api-meta">2 overloads</span> | Adds the `node` specified to the address space below the 'Objects' folder (see [ObjectsFolder](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcobjecttypes/members#objectsfolder)). |
| [RemoveNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcaddressspace/members#removenode) | Removes the `node` specified and its reference to the parent node from the address space. |

## Applies to

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