Partager via


IVsContainedLanguageHostEvents Interface

Receives view change notifications from a contained language host.

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

Syntax

'Déclaration
<GuidAttribute("F2A52136-803E-4CEF-BBA7-52D610FE34BA")> _
<InterfaceTypeAttribute()> _
Public Interface IVsContainedLanguageHostEvents
[GuidAttribute("F2A52136-803E-4CEF-BBA7-52D610FE34BA")]
[InterfaceTypeAttribute()]
public interface IVsContainedLanguageHostEvents
[GuidAttribute(L"F2A52136-803E-4CEF-BBA7-52D610FE34BA")]
[InterfaceTypeAttribute()]
public interface class IVsContainedLanguageHostEvents
[<GuidAttribute("F2A52136-803E-4CEF-BBA7-52D610FE34BA")>]
[<InterfaceTypeAttribute()>]
type IVsContainedLanguageHostEvents =  interface end
public interface IVsContainedLanguageHostEvents

The IVsContainedLanguageHostEvents type exposes the following members.

Methods

  Name Description
Public method OnViewChange Called when the view has changed.

Top

Remarks

This interface can be used by a contained language to determine when it should listen to particular commands.

Notes to Implementers

This interface is implemented in a contained language that needs to receive notifications about changes in the view from the contained language host, typically an editor.

Notes to Callers

This interface is passed by the contained language to the Advise method in the IVsContainedLanguageHost interface.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace