共用方式為


IVsLinkedUndoTransactionManager.CountOpenTransactions 方法

傳回巢狀層次的連結的復原交易。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

'宣告
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

參數

  • pCount
    類型:Int32%

    計數物件的指標。 計數物件表示巢狀層的級。

傳回值

類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。

備註

COM 簽章

從 textmgr.idl:

HRESULT IVsLinkedUndoTransactionManager::CountOpenTransactions(
   long *pCount
);

.NET Framework 安全性

請參閱

參考

IVsLinkedUndoTransactionManager 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間