IVsCompoundActionEvents.OnBeforeAction 方法

在引发事件之前发生。

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

语法

声明
Sub OnBeforeAction
void OnBeforeAction()
void OnBeforeAction()
abstract OnBeforeAction : unit -> unit
function OnBeforeAction()

备注

COM 签名

从 textmgr.idl:

HRESULT IVsCompoundActionEvents::OnBeforeAction();

,在事件发生之前,OnBeforeAction 会激发。 这允许客户端计算机的事务准备由信息缓存或在事务中仅存在于创建的对象。

.NET Framework 安全性

请参阅

参考

IVsCompoundActionEvents 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间