QuickOPC User's Guide and Reference
DataEventHandler Delegate



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Linking Namespace : DataEventHandler Delegate
The source of the event. This is set to the target object of the linking.
The event arguments; contain the actual event data.
Represents the method that will handle a data event that carries System.Object-typed data for a target object of System.Object type.
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. This is set to the target object of the linking.
e
The event arguments; contain the actual event data.
Requirements

Target Platforms: .NET Framework: Windows 7 with SP1, Windows Server 2012; .NET Core: Linux, Microsoft Windows

See Also

Reference

DataEventHandler Members
OpcLabs.BaseLib.ComponentModel.Linking Namespace