共用方式為


StructuredCompositeActivityDesigner.InsertActivities 方法

定義

將指定的活動加入至工作流程設計介面上指定位置的 StructuredCompositeActivityDesigner

public:
 override void InsertActivities(System::Workflow::ComponentModel::Design::HitTestInfo ^ insertLocation, System::Collections::ObjectModel::ReadOnlyCollection<System::Workflow::ComponentModel::Activity ^> ^ activitiesToInsert);
public override void InsertActivities (System.Workflow.ComponentModel.Design.HitTestInfo insertLocation, System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> activitiesToInsert);
override this.InsertActivities : System.Workflow.ComponentModel.Design.HitTestInfo * System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> -> unit
Public Overrides Sub InsertActivities (insertLocation As HitTestInfo, activitiesToInsert As ReadOnlyCollection(Of Activity))

參數

insertLocation
HitTestInfo

HitTestInfo,指定要加入活動的位置。

activitiesToInsert
ReadOnlyCollection<Activity>

Activity 唯讀集合,包含要加入 StructuredCompositeActivityDesigner 的活動。

適用於