OPC Studio User's Guide and Reference
DataEventHandler Delegate



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace : DataEventHandler Delegate
The source of the event.
The event arguments; contain the actual event data.
Represents the method that will handle a data event that carries System.Object-typed data.
Syntax
'Declaration
 
<CLSCompliantAttribute(True)>
<ComVisibleAttribute(False)>
Public Delegate Sub DataEventHandler( _
   ByVal sender As Object, _
   ByVal e As DataEventArgs _
) 
'Usage
 
Dim instance As New DataEventHandler(AddressOf HandlerMethod)
[CLSCompliant(true)]
[ComVisible(false)]
public delegate void DataEventHandler( 
   object sender,
   DataEventArgs e
)
[CLSCompliant(true)]
[ComVisible(false)]
public delegate void DataEventHandler( 
   Object^ sender,
   DataEventArgs^ e
)

Parameters

sender
The source of the event.
e
The event arguments; contain the actual event data.
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