IVsExpansionEvents Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a connection point that receives event notifications having to do with code snippets.
public interface class IVsExpansionEvents
public interface class IVsExpansionEvents
__interface IVsExpansionEvents
[System.Runtime.InteropServices.Guid("08107089-905F-47AB-989F-E365C5087402")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsExpansionEvents
[System.Runtime.InteropServices.Guid("08107089-905F-47AB-989F-E365C5087402")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsExpansionEvents
[<System.Runtime.InteropServices.Guid("08107089-905F-47AB-989F-E365C5087402")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsExpansionEvents = interface
[<System.Runtime.InteropServices.Guid("08107089-905F-47AB-989F-E365C5087402")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsExpansionEvents = interface
Public Interface IVsExpansionEvents
- Derived
- Attributes
Remarks
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(Guid, IConnectionPoint) method in the IConnectionPointContainer interface.
Methods
OnAfterSnippetsKeyBindingChange(UInt32, UInt32, Int32) |
Called when there is a change in the key binding that is associated with inserting code snippets. |
OnAfterSnippetsUpdate() |
Called whenever a folder that contains snippets has been updated and the snippets from that folder have been read in. |