Compartilhar via


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

'Declaration
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

See Also

Reference

IVsCompoundActionEvents Interface

Microsoft.VisualStudio.TextManager.Interop Namespace