IActivityTemplateFactory<T>.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.