CompositeActivityDesigner.InsertActivities Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts activities into the designer.
Overloads
InsertActivities(HitTestInfo, ReadOnlyCollection<Activity>) |
Inserts the specified activities in the designer at the specified ___location. |
InsertActivities(CompositeActivityDesigner, HitTestInfo, ReadOnlyCollection<Activity>, String) |
Inserts activities into the designer at the specified ___location using a transaction. |
InsertActivities(HitTestInfo, ReadOnlyCollection<Activity>)
Inserts the specified activities in the designer at the specified ___location.
public:
virtual void InsertActivities(System::Workflow::ComponentModel::Design::HitTestInfo ^ insertLocation, System::Collections::ObjectModel::ReadOnlyCollection<System::Workflow::ComponentModel::Activity ^> ^ activitiesToInsert);
public virtual void InsertActivities(System.Workflow.ComponentModel.Design.HitTestInfo insertLocation, System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> activitiesToInsert);
abstract member InsertActivities : System.Workflow.ComponentModel.Design.HitTestInfo * System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> -> unit
override this.InsertActivities : System.Workflow.ComponentModel.Design.HitTestInfo * System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> -> unit
Public Overridable Sub InsertActivities (insertLocation As HitTestInfo, activitiesToInsert As ReadOnlyCollection(Of Activity))
Parameters
- insertLocation
- HitTestInfo
The ___location in the designer to insert the activities.
- activitiesToInsert
- ReadOnlyCollection<Activity>
The list of activities to insert.
Remarks
Use InsertActivities to insert a list of activities into the ___location specified.
Prior to calling InsertActivities, use CanInsertActivities to make sure that the specified activities can be inserted.
Applies to
InsertActivities(CompositeActivityDesigner, HitTestInfo, ReadOnlyCollection<Activity>, String)
Inserts activities into the designer at the specified ___location using a transaction.
public:
static void InsertActivities(System::Workflow::ComponentModel::Design::CompositeActivityDesigner ^ compositeActivityDesigner, System::Workflow::ComponentModel::Design::HitTestInfo ^ insertLocation, System::Collections::ObjectModel::ReadOnlyCollection<System::Workflow::ComponentModel::Activity ^> ^ activitiesToInsert, System::String ^ undoTransactionDescription);
public static void InsertActivities(System.Workflow.ComponentModel.Design.CompositeActivityDesigner compositeActivityDesigner, System.Workflow.ComponentModel.Design.HitTestInfo insertLocation, System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> activitiesToInsert, string undoTransactionDescription);
static member InsertActivities : System.Workflow.ComponentModel.Design.CompositeActivityDesigner * System.Workflow.ComponentModel.Design.HitTestInfo * System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Activity> * string -> unit
Public Shared Sub InsertActivities (compositeActivityDesigner As CompositeActivityDesigner, insertLocation As HitTestInfo, activitiesToInsert As ReadOnlyCollection(Of Activity), undoTransactionDescription As String)
Parameters
- compositeActivityDesigner
- CompositeActivityDesigner
The designer into which the activities will be inserted.
- insertLocation
- HitTestInfo
The ___location in the designer at which the activities will be inserted.
- activitiesToInsert
- ReadOnlyCollection<Activity>
The list of activities to insert.
- undoTransactionDescription
- String
Description for the designer transaction created by the insertion.
Remarks
Use InsertActivities to insert a list of activities into the composite activity.
Prior to calling InsertActivities, use CanInsertActivities to make sure the specified list of activities can be inserted.