Επεξεργασία

Κοινή χρήση μέσω


CompositeActivityDesigner.SerializeActivitiesToDataObject Method

Definition

Serializes an array of activities to an IDataObject that can be placed into the clipboard or used when initializing a drag and drop operation.

public:
 static System::Windows::Forms::IDataObject ^ SerializeActivitiesToDataObject(IServiceProvider ^ serviceProvider, cli::array <System::Workflow::ComponentModel::Activity ^> ^ activities);
public static System.Windows.Forms.IDataObject SerializeActivitiesToDataObject (IServiceProvider serviceProvider, System.Workflow.ComponentModel.Activity[] activities);
static member SerializeActivitiesToDataObject : IServiceProvider * System.Workflow.ComponentModel.Activity[] -> System.Windows.Forms.IDataObject
Public Shared Function SerializeActivitiesToDataObject (serviceProvider As IServiceProvider, activities As Activity()) As IDataObject

Parameters

serviceProvider
IServiceProvider

Component serialization service.

activities
Activity[]

Array of activities to serialize.

Returns

IDataObject that contains serialized activities.

Applies to