IVsCompoundAction.CloseCompoundAction 方法

关闭复合事件并设置终结点在单个将分组的一组操作撤消/重做单元。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
Function CloseCompoundAction As Integer
int CloseCompoundAction()
int CloseCompoundAction()
abstract CloseCompoundAction : unit -> int
function CloseCompoundAction() : int

返回值

类型:Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

COM 签名

从 textmgr.idl:

HRESULT IVsCompoundAction::CloseCompoundAction();

.NET Framework 安全性

请参阅

参考

IVsCompoundAction 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间