共用方式為


CompositeActivityDesigner.MoveActivities 方法

定義

將活動從一個設計工具移到另一個。

public:
 virtual void MoveActivities(System::Workflow::ComponentModel::Design::HitTestInfo ^ moveLocation, System::Collections::ObjectModel::ReadOnlyCollection<System::Workflow::ComponentModel::Activity ^> ^ activitiesToMove);
public virtual void MoveActivities (System.Workflow.ComponentModel.Design.HitTestInfo moveLocation, System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> activitiesToMove);
abstract member MoveActivities : System.Workflow.ComponentModel.Design.HitTestInfo * System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> -> unit
override this.MoveActivities : System.Workflow.ComponentModel.Design.HitTestInfo * System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> -> unit
Public Overridable Sub MoveActivities (moveLocation As HitTestInfo, activitiesToMove As ReadOnlyCollection(Of Activity))

參數

moveLocation
HitTestInfo

HitTestInfo,可描述活動要移動到的位置。

activitiesToMove
ReadOnlyCollection<Activity>

要移動之活動的清單。

備註

您可以使用 MoveActivities 將活動清單從一個複合活動移動到另一個。

適用於