Edit

Share via


IActivityTemplateFactory<T>.Create Method

Definition

Creates an instance of the activity class that represents a predefined design pattern for the specified target object.

public:
 T Create(System::Windows::DependencyObject ^ target, System::Windows::IDataObject ^ dataObject);
public T Create (System.Windows.DependencyObject target, System.Windows.IDataObject dataObject);
abstract member Create : System.Windows.DependencyObject * System.Windows.IDataObject -> 'T
Public Function Create (target As DependencyObject, dataObject As IDataObject) As T

Parameters

target
DependencyObject

The dependency object used by this instance of an IActivityTemplateFactory.

dataObject
IDataObject

The data object in the activity.

Returns

T

An instance of the activity class.

Applies to