Share via


ModelEditingScope.Dispose Method

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

Disposes of this object by aborting changes unless the editing scope has already been completed or reverted.

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

Syntax

'Declaration
Public Sub Dispose
'Usage
Dim instance As ModelEditingScope

instance.Dispose()
public void Dispose()
public:
virtual void Dispose() sealed
public final function Dispose()
abstract Dispose : unit -> unit 
override Dispose : unit -> unit 

Implements

IDisposable.Dispose()

Remarks

If either the editing scope has completed or it has been reverted previously, then calling this method does nothing. This method calls Dispose(Boolean) with the input parameter set to true.

.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

Dispose Overload

System.Activities.Design.Model Namespace