OPC Studio User's Guide and Reference
DataEventArgs Constructor(Object)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > DataEventArgs Class > DataEventArgs Constructor : DataEventArgs Constructor(Object)
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 and a target object.
Syntax
'Declaration
 
Public Function New( _
   ByVal data As Object _
)
'Usage
 
Dim data As Object
 
Dim instance As New DataEventArgs(data)
public DataEventArgs( 
   object data
)
public:
DataEventArgs( 
   Object^ 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