OPC Studio User's Guide and Reference
DataEventArgs<TData> Constructor



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > DataEventArgs<TData> Class : DataEventArgs<TData> Constructor
The data of the event.

The value of this parameter can be null (Nothing in Visual Basic).

Initializes a new instance of the class, with given data.
Syntax
'Declaration
 
Public Function New( _
   ByVal data As TData _
)
'Usage
 
Dim data As TData
 
Dim instance As New DataEventArgs(Of TData)(data)
public DataEventArgs<TData>( 
   TData data
)
public:
DataEventArgs<TData>( 
   TData^ data
)

Parameters

data
The data of the event.

The value of this parameter can be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also