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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.