CompositeActivityDesigner.SerializeActivitiesToDataObject 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将活动数组序列化为一个可以放在剪贴板中的 IDataObject,或在初始化拖放操作时使用。
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
参数
- serviceProvider
- IServiceProvider
组件序列化服务。
- activities
- Activity[]
要序列化的活动的数组。
返回
包含要序列化的活动的 IDataObject。