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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.