# OpcNotificationDataSet&lt;T&gt; Class

> Reference: Defines the base class of the data sets of a notification (see Data).

<span class="api-meta">abstract</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">OpcNotificationDataSet&lt;T&gt; Members</a></dd>
<dt>Also in</dt>
<dd>Opc.UaFx.Client</dd>
</dl>

Defines the base class of the data sets of a notification (see [Data](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnotification/members#data)).

## Syntax

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

```csharp
public abstract class OpcNotificationDataSet<T>
    where T : OpcNotificationDataSetItem
```

</div>

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

```vbnet
Public MustInherit Class OpcNotificationDataSet(Of T As OpcNotificationDataSetItem)
```

</div>

## Type parameters

| Name | Description |
|---|---|
| `T` | The type of the items of the data set. |

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → **OpcNotificationDataSet&lt;T&gt;**

## Implements

<ul class="api-implements">
<li><a href="../opc.uafx.iopcnotificationdataset/">IOpcNotificationDataSet</a></li>
</ul>

## Derived types

- [OpcDataChangeDataSet](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdatachangedataset/)
- [OpcEventDataSet](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventdataset/)

## Constructors

| Name | Description |
|---|---|
| [OpcNotificationDataSet](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnotificationdataset-1/members#opcnotificationdataset)<span class="api-meta">protected</span> | Initializes a new instance of the OpcNotificationDataSet&lt;T&gt; class using the specified `content` of the `notification` specified. |

## Properties

| Name | Description |
|---|---|
| [Items](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnotificationdataset-1/members#items) | Gets the items of the data set. |
| [Notification](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnotificationdataset-1/members#notification) | Gets the notification which contains the data set. |

## Methods

| Name | Description |
|---|---|
| [LoadItems](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnotificationdataset-1/members#loaditems)<span class="api-meta">protected · virtual</span> | When overridden in a derived class, adds the items of the data set to the `items` specified. |

## Applies to

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