# OpcNodeHistoryEventArgs&lt;T&gt; Members

> Reference: Provides the event data for the events Added, Removed and Replaced.

<dl class="api-definition">
<dt>Type</dt>
<dd><a href="./">OpcNodeHistoryEventArgs&lt;T&gt;</a></dd>
<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>
</dl>

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

## Constructors

### OpcNodeHistoryEventArgs

<span class="api-meta">3 overloads</span>

| Overload | Description |
|---|---|
| [OpcNodeHistoryEventArgs(T)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodehistoryeventargs-1/members#opcnodehistoryeventargs-t0) | Initializes a new instance of the [OpcNodeHistoryEventArgs&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodehistoryeventargs-1/) class using the `value` specified. |
| [OpcNodeHistoryEventArgs(IEnumerable&lt;T&gt;)](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodehistoryeventargs-1/members#opcnodehistoryeventargs-system-collections-generic-ienumerable-of-t0) | Initializes a new instance of the [OpcNodeHistoryEventArgs&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodehistoryeventargs-1/) class using the `values` specified. |
| [OpcNodeHistoryEventArgs(params T\[\])](#opcnodehistoryeventargs-t0-array) | Initializes a new instance of the [OpcNodeHistoryEventArgs&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodehistoryeventargs-1/) class using the `values` specified. |

#### OpcNodeHistoryEventArgs(T)

Initializes a new instance of the [OpcNodeHistoryEventArgs&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodehistoryeventargs-1/) class using the `value` specified.

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

```csharp
public OpcNodeHistoryEventArgs(T value)
```

</div>

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

```vbnet
Public Sub New(value As T)
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `value` | T | The value concerned by the event. |

#### OpcNodeHistoryEventArgs(IEnumerable&lt;T&gt;)

Initializes a new instance of the [OpcNodeHistoryEventArgs&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodehistoryeventargs-1/) class using the `values` specified.

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

```csharp
public OpcNodeHistoryEventArgs(IEnumerable<T> values)
```

</div>

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

```vbnet
Public Sub New(values As IEnumerable(Of T))
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `values` | [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;T&gt; | A sequence of the values concerned by the event. |

**Exceptions**

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

#### OpcNodeHistoryEventArgs(params T\[\])

Initializes a new instance of the [OpcNodeHistoryEventArgs&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodehistoryeventargs-1/) class using the `values` specified.

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

```csharp
public OpcNodeHistoryEventArgs(params T[] values)
```

</div>

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

```vbnet
Public Sub New(ParamArray values As T())
```

</div>

**Parameters**

| Name | Type | Description |
|---|---|---|
| `values` | params T[] | The values concerned by the event. |

**Exceptions**

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

## Properties

### Values

Gets the values concerned by the event.

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

```csharp
public IEnumerable<T> Values { get; }
```

</div>

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

```vbnet
Public ReadOnly Property Values As IEnumerable(Of T)
```

</div>

**Property value**

[IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)&lt;T&gt;

A sequence of the values added or removed or, for the [Replaced](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcnodehistory-1/members#replaced) event, of the values replaced.
