'Declaration
<NotNullAttribute()> Protected Shared Function CreateEventArgs( _ ByVal dataType As Type, _ ByVal targetType As Type, _ ByVal data As Object, _ ByVal targetObject As Object _ ) As TargetDataEventArgs
'Usage
Dim dataType As Type Dim targetType As Type Dim data As Object Dim targetObject As Object Dim value As TargetDataEventArgs value = LinkingTarget.CreateEventArgs(dataType, targetType, data, targetObject)
[NotNull()] protected static TargetDataEventArgs CreateEventArgs( Type dataType, Type targetType, object data, object targetObject )
[NotNull()] protected: static TargetDataEventArgs^ CreateEventArgs( Type^ dataType, Type^ targetType, Object^ data, Object^ targetObject )
Parameters
- dataType
- The type of the event data.
- targetType
- The type of the target object.
- data
- The data of the event.
- targetObject
- The target object of the linking.
Return Value
The typed event data object with the specified content.