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



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.ComponentModel.Linking Namespace > TargetDataEventArgs Class > TargetDataEventArgs Constructor : TargetDataEventArgs Constructor(Object,Object)
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 Object, _
   ByVal targetObject As Object _
)
'Usage
 
Dim data As Object
Dim targetObject As Object
 
Dim instance As New TargetDataEventArgs(data, targetObject)
public TargetDataEventArgs( 
   object data,
   object targetObject
)
public:
TargetDataEventArgs( 
   Object^ data,
   Object^ 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