StructuredCompositeActivityDesigner.InsertActivities(HitTestInfo, ReadOnlyCollection<Activity>) 方法

定義

將指定的活動加入至工作流程設計介面上指定位置的 StructuredCompositeActivityDesignerAdds the specified activities to the StructuredCompositeActivityDesigner at the specified location on the workflow design surface.

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,指定要加入活動的位置。The HitTestInfo that specifies the location to add the activities.

activitiesToInsert
ReadOnlyCollection<Activity>

Activity 唯讀集合,包含要加入 StructuredCompositeActivityDesigner 的活動。The Activity read-only collection that contains the activities to add to the StructuredCompositeActivityDesigner.

適用於