# OpcAddNode Class

> Reference: Defines an abstract base class for a single command of the IOpcAddNodesService used to add one node.

<span class="api-meta">abstract · since v2.7</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">OpcAddNode Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Defines an abstract base class for a single command of the [IOpcAddNodesService](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.iopcaddnodesservice/) used to add one node.

## Syntax

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

```csharp
public abstract class OpcAddNode : OpcNodeServiceCommand
```

</div>

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

```vbnet
Public MustInherit Class OpcAddNode
    Inherits OpcNodeServiceCommand
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [OpcServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicecommand/) → [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/) → **OpcAddNode**

## Derived types

- [OpcAddInstanceNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaddinstancenode/)
- [OpcAddTypeNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaddtypenode/)

## Constructors

| Name | Description |
|---|---|
| [OpcAddNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaddnode/members#opcaddnode)<span class="api-meta">protected · 3 overloads</span> | Initializes a new instance of the OpcAddNode class using the specified `category` of node to add, which shall be accessible by the `name` defined. |

## Properties

| Name | Description |
|---|---|
| [Category](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaddnode/members#category) | Gets a value indicating the classification of the node in the address space. |
| [Description](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaddnode/members#description) | Gets or sets the localized description of the meaning of the node. |
| [DisplayName](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaddnode/members#displayname) | Gets or sets the localized name of the node. |
| [Name](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaddnode/members#name) | Gets the non-localised human-readable name of the node in the address space. |
| [ParentNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaddnode/members#parentnodeid) | Gets the identifier of the existing parent node of the new node. |
| [SupportsNullNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaddnode/members#supportsnullnodeid)<span class="api-meta">protected · override</span> | Gets a value indicating whether the OpcAddNode supports instances of the [OpcNodeId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/) class its [IsNull](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeid/members#isnull) provides a value equals to the value true. |
| [UserWriteAccess](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaddnode/members#userwriteaccess) | Gets or sets a value which exposes the possibilities of a client to write the attributes of the node taking user access rights into account. |
| [WriteAccess](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcaddnode/members#writeaccess) | Gets or sets a value which exposes the possibilities of a client to write the attributes of the node without taking user access rights into account. |

Inherits members from [OpcNodeServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcnodeservicecommand/members), [OpcServiceCommand](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.services.opcservicecommand/members).

## Applies to

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