QuickOPC User's Guide and Reference
TargetDataEventHandler Delegate



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Linking Namespace : TargetDataEventHandler 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 TargetDataEventHandler( _
   ByVal sender As Object, _
   ByVal e As TargetDataEventArgs _
) 
'Usage
 
Dim instance As New TargetDataEventHandler(AddressOf HandlerMethod)
[CLSCompliant(true)]
[ComVisible(false)]
public delegate void TargetDataEventHandler( 
   object sender,
   TargetDataEventArgs e
)
[CLSCompliant(true)]
[ComVisible(false)]
public delegate void TargetDataEventHandler( 
   Object^ sender,
   TargetDataEventArgs^ 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 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also