Partager via


IVsLinkedUndoTransactionManager.IsStrict Method

Determines if the linked undo transaction is strict.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Déclaration
Function IsStrict ( _
    ByRef pfStrict As Integer _
) As Integer
int IsStrict(
    ref int pfStrict
)
int IsStrict(
    int% pfStrict
)
abstract IsStrict : 
        pfStrict:int byref -> int 
function IsStrict(
    pfStrict : int
) : int

Parameters

  • pfStrict
    Type: System.Int32%
    Pointer to a flag, true indicating strict.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsLinkedUndoTransactionManager::IsStrict(
   BOOL *pfStrict
);

Not strict linked undo behavior means that some of the documents with linked undo siblings can close and still leave the other linked undo siblings on their stacks. Strict linked undo behavior specifies that all the linked undo siblings have to be undone together or not at all.

.NET Framework Security

See Also

Reference

IVsLinkedUndoTransactionManager Interface

Microsoft.VisualStudio.TextManager.Interop Namespace