Skip to content

Reference

OpcNotificationDataSet Members

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

Reference

OpcNotificationDataSet<T> Members ​

Type
OpcNotificationDataSet<T>
Namespace
Opc.UaFx
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Constructors ​

OpcNotificationDataSet ​

protected

Initializes a new instance of the OpcNotificationDataSet<T> class using the specified content of the notification specified.

csharp
protected OpcNotificationDataSet(
    NotificationData content,
    OpcNotification notification)
vbnet
Protected Sub New(content As NotificationData, notification As OpcNotification)

Parameters

NameTypeDescription
contentNotificationDataThe notification data to represent.
notificationOpcNotificationThe OpcNotification which contains the data set.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe content or notification is a null reference (Nothing in Visual Basic).

Properties ​

Items ​

Gets the items of the data set.

csharp
public OpcNotificationDataSetItemReadOnlyCollection<T> Items { get; }
vbnet
Public ReadOnly Property Items As OpcNotificationDataSetItemReadOnlyCollection(Of T)

Property value

OpcNotificationDataSetItemReadOnlyCollection<T>

A read-only collection of the items of the data set.

Remarks

The items are loaded using LoadItems as long as the collection is empty.

Notification ​

Gets the notification which contains the data set.

csharp
public OpcNotification Notification { get; }
vbnet
Public ReadOnly Property Notification As OpcNotification

Property value

OpcNotification

The OpcNotification which contains the data set.

Implements

Notification

Methods ​

LoadItems ​

protected · virtual

When overridden in a derived class, adds the items of the data set to the items specified.

csharp
protected virtual void LoadItems(OpcNotificationDataSetItemCollection<T> items)
vbnet
Protected Overridable Sub LoadItems(
    items As OpcNotificationDataSetItemCollection(Of T))

Parameters

NameTypeDescription
itemsOpcNotificationDataSetItemCollection<T>The collection to add the items to.

Remarks

The default implementation does not add any items.