IVsExpansionEvents Interface

 

Represents a connection point that receives event notifications having to do with code snippets.

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

[InterfaceTypeAttribute(1)]
[GuidAttribute("08107089-905F-47AB-989F-E365C5087402")]
public interface IVsExpansionEvents

NameDescription
System_CAPS_pubmethodOnAfterSnippetsKeyBindingChange(UInt32, UInt32, Int32)

Called when there is a change in the key binding that is associated with inserting code snippets.

System_CAPS_pubmethodOnAfterSnippetsUpdate()

Called whenever a folder that contains snippets has been updated and the snippets from that folder have been read in.

Obtain the IConnectionPointContainer interface from the IVsExpansionManager interface, and then call the FindConnectionPoint method in the IConnectionPointContainer interface with the interface ID of the IVsExpansionEvents interface to obtain an IConnectionPoint object. Call the Advise method on the IConnectionPoint object with your IVsExpansionEvents interface to begin receiving code snippet-related events.

Notes to Implementers:

This interface is implemented on any object that needs to receive notifications of events associated with code snippets.

Notes to Callers:

This interface is passed to the Advise method on the IConnectionPoint object that was returned from the FindConnectionPoint method in the IConnectionPointContainer interface.

Return to top
Show: