# OpcNodeAddedEventArgs Members

> Reference: Provides the event data for the BeforeAdded and AfterAdded events.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcNodeAddedEventArgs</a></dd>
<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>
</dl>

Inherits members from [EventArgs](https://learn.microsoft.com/dotnet/api/system.eventargs).

## Constructors

### OpcNodeAddedEventArgs

Initializes a new instance of the [OpcNodeAddedEventArgs](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodeaddedeventargs/) class using the `references` specified.

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

```csharp
public OpcNodeAddedEventArgs(OpcNodeReferenceCollection references)
```

</div>

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

```vbnet
Public Sub New(references As OpcNodeReferenceCollection)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `references` | [OpcNodeReferenceCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodereferencecollection/) | The [OpcNodeReferenceCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodereferencecollection/) with the references to add along with the node. |

**Exceptions**

| Exception | Condition |
|---|---|
| [ArgumentNullException](https://learn.microsoft.com/dotnet/api/system.argumentnullexception) | The `references` is a null reference (Nothing in Visual Basic). |

## Properties

### References

Gets the references to add along with the node.

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

```csharp
public OpcNodeReferenceCollection References { get; }
```

</div>

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

```vbnet
Public ReadOnly Property References As OpcNodeReferenceCollection
```

</div>

**Property value**

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

The [OpcNodeReferenceCollection](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnodereferencecollection/) with the references which the node manager adds to the address space after the [AfterAdded](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnode/members#afteradded) event.

**Remarks**

The node manager uses this collection itself; references added to it or removed from it by a handler of the events are taken into account.
