Freigeben über


UndoContext.IsStrict Property

Gets whether the undo stack linkage is strict.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
ReadOnly Property IsStrict As Boolean
bool IsStrict { get; }
property bool IsStrict {
    bool get ();
}
abstract IsStrict : bool with get
function get IsStrict () : boolean

Property Value

Type: System.Boolean
A Boolean value indicating true if the undo stack linkage is set to strict, false if not.

Remarks

Strict linked undo behavior specifies that all the linked undo sibling stacks have to be undone together or not at all. A strict linked undo operation is usually necessary in editorial changes that involve simultaneous text changes across multiple program files, such as a header file and a Visual C++ file. This is, in fact, the model used in Visual Studio. For more information about undo stack linking, see the OpenLinkedUndo method.

.NET Framework Security

See Also

Reference

UndoContext Interface

EnvDTE Namespace