ModelItem.BeginEdit Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Opens an editing scope for the designer. Once 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.

Namespace:  System.Activities.Design.Model
Assembly:  System.Activities.Design.Base (in System.Activities.Design.Base.dll)

Syntax

'Declaration
Public MustOverride Function BeginEdit As ModelEditingScope
'Usage
Dim instance As ModelItem
Dim returnValue As ModelEditingScope

returnValue = instance.BeginEdit()
public abstract ModelEditingScope BeginEdit()
public:
virtual ModelEditingScope^ BeginEdit() abstract
public abstract function BeginEdit() : ModelEditingScope
abstract BeginEdit : unit -> ModelEditingScope 

Return Value

Type: System.Activities.Design.Model.ModelEditingScope
Returns a ModelEditingScope which must be either completed or reverted.

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 may be created for any item in the designer; you do not need to create an editing scope for the specific item you are changing.

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

ModelItem Class

ModelItem Members

BeginEdit Overload

System.Activities.Design.Model Namespace