Share via


UndoManager.Flush Method

Flush the undo and redo stacks. If we are in the middle of a transaction, throw an exception.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaration
Public Sub Flush
public void Flush()
public:
void Flush()
member Flush : unit -> unit 
public function Flush()

.NET Framework Security

See Also

Reference

UndoManager Class

Microsoft.VisualStudio.Modeling Namespace