Share via


ModelEditingScope.Revert Method

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

Abandons the changes made during the editing scope.

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

Syntax

'Declaration
Public Sub Revert
'Usage
Dim instance As ModelEditingScope

instance.Revert()
public void Revert()
public:
void Revert()
public function Revert()
member Revert : unit -> unit 

Exceptions

Exception Condition
InvalidOperationException

The group of changes has already been committed.

Remarks

This method calls OnRevert(Boolean) with the input parameter set to false.

.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

ModelEditingScope Class

ModelEditingScope Members

System.Activities.Design.Model Namespace