CompositeActivityDesigner.SerializeActivitiesToDataObject(IServiceProvider, Activity[]) CompositeActivityDesigner.SerializeActivitiesToDataObject(IServiceProvider, Activity[]) CompositeActivityDesigner.SerializeActivitiesToDataObject(IServiceProvider, Activity[]) CompositeActivityDesigner.SerializeActivitiesToDataObject(IServiceProvider, Activity[]) Method

Definition

Serialisiert ein Array mit Aktivitäten für ein IDataObject, das in die Zwischenablage verschoben oder verwendet werden kann, wenn ein Drag & Drop-Vorgang initialisiert wird.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

Parameter

serviceProvider
IServiceProvider IServiceProvider IServiceProvider IServiceProvider

Komponentenserialisierungsdienst.Component serialization service.

activities
Activity[]

Array der zu serialisierenden Aktivitäten.Array of activities to serialize.

Gibt zurück

IDataObject, der serialisierte Aktivitäten enthält.IDataObject that contains serialized activities.

Gilt für: