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)
Syntax
'宣言
<InterfaceTypeAttribute()> _
<GuidAttribute("08107089-905F-47AB-989F-E365C5087402")> _
Public Interface IVsExpansionEvents
'使用
Dim instance As IVsExpansionEvents
[InterfaceTypeAttribute()]
[GuidAttribute("08107089-905F-47AB-989F-E365C5087402")]
public interface IVsExpansionEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"08107089-905F-47AB-989F-E365C5087402")]
public interface class IVsExpansionEvents
[<InterfaceTypeAttribute()>]
[<GuidAttribute("08107089-905F-47AB-989F-E365C5087402")>]
type IVsExpansionEvents = interface end
public interface IVsExpansionEvents
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 method in the IConnectionPointContainer interface.