Freigeben über


IVsLinkedUndoTransactionManager.CountOpenTransactions-Methode

Gibt die Schachtelungsebene verknüpfte Rückgängig-Transaktionen zurück.

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

Syntax

'Declaration
Function CountOpenTransactions ( _
    ByRef pCount As Integer _
) As Integer
int CountOpenTransactions(
    ref int pCount
)
int CountOpenTransactions(
    int% pCount
)
abstract CountOpenTransactions : 
        pCount:int byref -> int
function CountOpenTransactions(
    pCount : int
) : int

Parameter

  • pCount
    Typ: Int32%

    Ein Zeiger auf einen Zähler Objekt. Die Anzahl Objekt gibt die Schachtelungsebenen dargestellt.

Rückgabewert

Typ: Int32
Wenn die Methode erfolgreich ausgeführt, gibt sie S_OKzurück.Bei einem Fehler wird ein Fehlercode zurückgegeben.

Hinweise

COM-Signatur

Von textmgr.idl:

HRESULT IVsLinkedUndoTransactionManager::CountOpenTransactions(
   long *pCount
);

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsLinkedUndoTransactionManager Schnittstelle

Microsoft.VisualStudio.TextManager.Interop-Namespace