다음을 통해 공유


IVsExpansionEvents 인터페이스

코드 단편 사용 된 이벤트 알림을 받는 연결 지점을 나타냅니다.

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop.8.0(Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

구문

‘선언
<InterfaceTypeAttribute()> _
<GuidAttribute("08107089-905F-47AB-989F-E365C5087402")> _
Public Interface 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

IVsExpansionEvents 형식에서는 다음과 같은 멤버를 노출합니다.

메서드

  이름 설명
Public 메서드 OnAfterSnippetsKeyBindingChange 코드 조각 삽입에 관련 된 키 바인딩이 변경 되 면 호출 됩니다.
Public 메서드 OnAfterSnippetsUpdate 업데이트 된 코드 조각을 포함 하는 폴더 및 조각 폴더에서 읽어들인 때마다 호출 됩니다.

위쪽

설명

얻을 IConnectionPointContainer 인터페이스에서 IVsExpansionManager 인터페이스를 누른 다음 호출의 FindConnectionPoint 메서드에서 IConnectionPointContainer 인터페이스의 인터페이스 ID와는 IVsExpansionEvents 인터페이스를 얻을 수는 IConnectionPoint 개체. Advise 메서드를 호출는 IConnectionPoint 와 개체를 IVsExpansionEvents 인터페이스 코드 조각에 관련 된 이벤트 수신을 시작 합니다.

구현자 참고 사항

이 인터페이스는 코드 조각을 함께 연결 된 이벤트 알림을 수신 하는 데 필요한 모든 개체에서 구현 됩니다.

호출자 참고 사항

이 인터페이스 Advise 메서드로 전달 되는 IConnectionPoint 에서 반환 된 개체는 FindConnectionPoint 메서드에서 IConnectionPointContainer 인터페이스입니다.

참고 항목

참조

Microsoft.VisualStudio.TextManager.Interop 네임스페이스