CompositeActivityDesigner.InsertActivities Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Inserisce le attività nella finestra di progettazione.
Overload
| Nome | Descrizione |
|---|---|
| InsertActivities(HitTestInfo, ReadOnlyCollection<Activity>) |
Inserisce le attività specificate nella finestra di progettazione nella posizione specificata. |
| InsertActivities(CompositeActivityDesigner, HitTestInfo, ReadOnlyCollection<Activity>, String) |
Inserisce le attività nella finestra di progettazione nella posizione specificata utilizzando una transazione. |
InsertActivities(HitTestInfo, ReadOnlyCollection<Activity>)
Inserisce le attività specificate nella finestra di progettazione nella posizione specificata.
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))
Parametri
- insertLocation
- HitTestInfo
Posizione nella finestra di progettazione per inserire le attività.
- activitiesToInsert
- ReadOnlyCollection<Activity>
Elenco di attività da inserire.
Commenti
Consente di InsertActivities inserire un elenco di attività nella posizione specificata.
Prima di chiamare InsertActivities, usare CanInsertActivities per assicurarsi che le attività specificate possano essere inserite.
Si applica a
InsertActivities(CompositeActivityDesigner, HitTestInfo, ReadOnlyCollection<Activity>, String)
Inserisce le attività nella finestra di progettazione nella posizione specificata utilizzando una transazione.
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)
Parametri
- compositeActivityDesigner
- CompositeActivityDesigner
Finestra di progettazione in cui verranno inserite le attività.
- insertLocation
- HitTestInfo
Posizione nella finestra di progettazione in cui verranno inserite le attività.
- activitiesToInsert
- ReadOnlyCollection<Activity>
Elenco di attività da inserire.
- undoTransactionDescription
- String
Descrizione per la transazione della finestra di progettazione creata dall'inserimento.
Commenti
Usare InsertActivities per inserire un elenco di attività nell'attività composita.
Prima di chiamare InsertActivities, usare CanInsertActivities per assicurarsi che l'elenco specificato di attività possa essere inserito.