UndoManager.DiscardUndoStacks Method

Throws away undo/redo stacks. If the bool is true, then in addition to discarding the undostack the routine will mark the stack as clean.

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

Syntax

声明
Public Sub DiscardUndoStacks ( _
    markAsClean As Boolean _
)
public void DiscardUndoStacks(
    bool markAsClean
)
public:
void DiscardUndoStacks(
    bool markAsClean
)
member DiscardUndoStacks : 
        markAsClean:bool -> unit 
public function DiscardUndoStacks(
    markAsClean : boolean
)

Parameters

.NET Framework Security

See Also

Reference

UndoManager Class

Microsoft.VisualStudio.Modeling.Shell Namespace