ModelItem.BeginEdit ModelItem.BeginEdit ModelItem.BeginEdit ModelItem.BeginEdit Method

Definition

Opens an editing scope for the designer.

Overloads

BeginEdit() BeginEdit() BeginEdit() BeginEdit()

Opens an editing scope for the designer. After an editing scope is open, all changes across all objects will be saved into the scope until the transaction is completed or reverted. Editing scopes can be nested, but must be committed in order.

BeginEdit(Boolean) BeginEdit(Boolean) BeginEdit(Boolean) BeginEdit(Boolean)

Opens an editing scope for the designer.

BeginEdit(String) BeginEdit(String) BeginEdit(String) BeginEdit(String)

Opens an editing scope for the designer. After an editing scope is open, all changes across all objects will be saved into the scope until the transaction is completed or reverted. Editing scopes can be nested, but must be committed in order.

BeginEdit(String, Boolean) BeginEdit(String, Boolean) BeginEdit(String, Boolean) BeginEdit(String, Boolean)

Opens an editing scope for the designer.

BeginEdit() BeginEdit() BeginEdit() BeginEdit()

Opens an editing scope for the designer. After an editing scope is open, all changes across all objects will be saved into the scope until the transaction is completed or reverted. Editing scopes can be nested, but must be committed in order.

public:
 abstract System::Activities::Presentation::Model::ModelEditingScope ^ BeginEdit();
public abstract System.Activities.Presentation.Model.ModelEditingScope BeginEdit ();
abstract member BeginEdit : unit -> System.Activities.Presentation.Model.ModelEditingScope
Public MustOverride Function BeginEdit () As ModelEditingScope

Returns

Remarks

An editing scope allows multiple changes to the model to be applied as a single transaction. All of the changes made within the editing scope can be reverted at any time before the transaction is completed.

Editing scopes are global to the designer. An editing scope can be created for any item in the designer; you do not need to create an editing scope for the specific item you are changing.

BeginEdit(Boolean) BeginEdit(Boolean) BeginEdit(Boolean) BeginEdit(Boolean)

Opens an editing scope for the designer.

public:
 virtual System::Activities::Presentation::Model::ModelEditingScope ^ BeginEdit(bool shouldApplyChangesImmediately);
public virtual System.Activities.Presentation.Model.ModelEditingScope BeginEdit (bool shouldApplyChangesImmediately);
abstract member BeginEdit : bool -> System.Activities.Presentation.Model.ModelEditingScope
override this.BeginEdit : bool -> System.Activities.Presentation.Model.ModelEditingScope
Public Overridable Function BeginEdit (shouldApplyChangesImmediately As Boolean) As ModelEditingScope

Parameters

shouldApplyChangesImmediately
Boolean Boolean Boolean Boolean

true to indicate that the changes should be applied immediately; otherwise, false.

Returns

BeginEdit(String) BeginEdit(String) BeginEdit(String) BeginEdit(String)

Opens an editing scope for the designer. After an editing scope is open, all changes across all objects will be saved into the scope until the transaction is completed or reverted. Editing scopes can be nested, but must be committed in order.

public:
 abstract System::Activities::Presentation::Model::ModelEditingScope ^ BeginEdit(System::String ^ description);
public abstract System.Activities.Presentation.Model.ModelEditingScope BeginEdit (string description);
abstract member BeginEdit : string -> System.Activities.Presentation.Model.ModelEditingScope
Public MustOverride Function BeginEdit (description As String) As ModelEditingScope

Parameters

description
String String String String

An optional description of the change. This will be set into the Description property of the editing scope.

Returns

Remarks

An editing scope allows multiple changes to the model to be applied as a single transaction. All of the changes made within the editing scope can be reverted at any time before the transaction is completed.

Editing scopes are global to the designer. An editing scope can be created for any item in the designer; you do not need to create an editing scope for the specific item you are changing.

BeginEdit(String, Boolean) BeginEdit(String, Boolean) BeginEdit(String, Boolean) BeginEdit(String, Boolean)

Opens an editing scope for the designer.

public:
 virtual System::Activities::Presentation::Model::ModelEditingScope ^ BeginEdit(System::String ^ description, bool shouldApplyChangesImmediately);
public virtual System.Activities.Presentation.Model.ModelEditingScope BeginEdit (string description, bool shouldApplyChangesImmediately);
abstract member BeginEdit : string * bool -> System.Activities.Presentation.Model.ModelEditingScope
override this.BeginEdit : string * bool -> System.Activities.Presentation.Model.ModelEditingScope
Public Overridable Function BeginEdit (description As String, shouldApplyChangesImmediately As Boolean) As ModelEditingScope

Parameters

description
String String String String

An optional description of the change. This will be set into the Description property of the editing scope.

shouldApplyChangesImmediately
Boolean Boolean Boolean Boolean

true to indicate that the changes should be applied immediately; otherwise, false.

Returns

Applies to