Share via


IVsCompoundActionEvents.OnBeforeAction Method

Fired before an action takes place.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Sub OnBeforeAction
'Usage
Dim instance As IVsCompoundActionEvents

instance.OnBeforeAction()
void OnBeforeAction()
void OnBeforeAction()
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

IVsCompoundActionEvents Members

Microsoft.VisualStudio.TextManager.Interop Namespace