Compartir a través de


ModelingDocData.IsFlushUndoStackRequiredOnLoad Method

Override this method to specify if the undo stack is to be flushed after loading (opening, or creating) the docdata.

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

Syntax

'Declaration
Protected Friend Overridable Function IsFlushUndoStackRequiredOnLoad As Boolean
protected internal virtual bool IsFlushUndoStackRequiredOnLoad()
protected public:
virtual bool IsFlushUndoStackRequiredOnLoad()
abstract IsFlushUndoStackRequiredOnLoad : unit -> bool  
override IsFlushUndoStackRequiredOnLoad : unit -> bool
function IsFlushUndoStackRequiredOnLoad() : boolean

Return Value

Type: System.Boolean
true if the undo stack should be flushed after opening or creating an instance of this document, false if it should not be flushed.

.NET Framework Security

See Also

Reference

ModelingDocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace