'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.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - targetType
- The type of the target object.
The value of this parameter can be
null
(Nothing
in Visual Basic). - data
- The data of the event.
The value of this parameter can be
null
(Nothing
in Visual Basic). - targetObject
- The target object of the linking.
The value of this parameter can be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).