共用方式為


IVsLinkedUndoTransactionManager.IsAborted Method

Determines if the linked undo transaction is aborted.

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

Syntax

'宣告
Function IsAborted ( _
    ByRef pfAborted As Integer _
) As Integer
'用途
Dim instance As IVsLinkedUndoTransactionManager
Dim pfAborted As Integer
Dim returnValue As Integer

returnValue = instance.IsAborted(pfAborted)
int IsAborted(
    ref int pfAborted
)
int IsAborted(
    int% pfAborted
)
abstract IsAborted : 
        pfAborted:int byref -> int 
function IsAborted(
    pfAborted : int
) : int

Parameters

  • pfAborted
    Type: System.Int32%
    Pointer to a flag, true indicating aborted.

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::IsAborted(
   BOOL *pfAborted
);

.NET Framework Security

See Also

Reference

IVsLinkedUndoTransactionManager Interface

IVsLinkedUndoTransactionManager Members

Microsoft.VisualStudio.TextManager.Interop Namespace