共用方式為


IVsLinkedUndoTransactionManager.CloseLinkedUndo 方法

成功地關閉連結的復原交易。

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

語法

'宣告
Function CloseLinkedUndo As Integer
int CloseLinkedUndo()
int CloseLinkedUndo()
abstract CloseLinkedUndo : unit -> int
function CloseLinkedUndo() : int

傳回值

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

備註

COM 簽章

從 textmgr.idl:

HRESULT IVsLinkedUndoTransactionManager::CloseLinkedUndo();

.NET Framework 安全性

請參閱

參考

IVsLinkedUndoTransactionManager 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間