IVsCompoundActionEvents.OnBeforeAction Method
Fired before a compound action takes place.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'宣告
Sub OnBeforeAction
void OnBeforeAction()
void OnBeforeAction()
abstract OnBeforeAction : unit -> unit
function OnBeforeAction()
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsCompoundActionEvents::OnBeforeAction();
OnBeforeAction is fired before an action takes place. This allows clients to prepare for a transaction by caching information or creating objects that live only during a transaction.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.