QuickOPC User's Guide and Reference
TargetDataEventArgs<TData,TTarget> Constructor



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Linking Namespace > TargetDataEventArgs<TData,TTarget> Class : TargetDataEventArgs<TData,TTarget> Constructor
The data of the event.
The target object of the linking.
Initializes a new instance of the class, with given data and a target object.
Syntax
'Declaration
 
Public Function New( _
   ByVal data As TData, _
   ByVal targetObject As TTarget _
)
'Usage
 
Dim data As TData
Dim targetObject As TTarget
 
Dim instance As New TargetDataEventArgs(Of TData,TTarget)(data, targetObject)
public TargetDataEventArgs<TData,TTarget>( 
   TData data,
   TTarget targetObject
)
public:
TargetDataEventArgs<TData,TTarget>( 
   TData^ data,
   TTarget^ targetObject
)

Parameters

data
The data of the event.
targetObject
The target object of the linking.
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