Export (0) Print
Expand All

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
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("08107089-905F-47AB-989F-E365C5087402") */ 
public interface IVsExpansionEvents
InterfaceTypeAttribute(1) 
GuidAttribute("08107089-905F-47AB-989F-E365C5087402") 
public interface IVsExpansionEvents

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.

Community Additions

ADD
Show:
© 2014 Microsoft