Compartilhar via


IVsContainedLanguageHostEvents Interface

Definition

Receives view change notifications from a contained language host.

public interface class IVsContainedLanguageHostEvents
public interface class IVsContainedLanguageHostEvents
__interface IVsContainedLanguageHostEvents
[System.Runtime.InteropServices.Guid("F2A52136-803E-4CEF-BBA7-52D610FE34BA")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsContainedLanguageHostEvents
[System.Runtime.InteropServices.Guid("F2A52136-803E-4CEF-BBA7-52D610FE34BA")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsContainedLanguageHostEvents
[<System.Runtime.InteropServices.Guid("F2A52136-803E-4CEF-BBA7-52D610FE34BA")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsContainedLanguageHostEvents = interface
[<System.Runtime.InteropServices.Guid("F2A52136-803E-4CEF-BBA7-52D610FE34BA")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsContainedLanguageHostEvents = interface
Public Interface IVsContainedLanguageHostEvents
Attributes

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(IVsContainedLanguageHostEvents, UInt32) method in the IVsContainedLanguageHost interface.

Methods

OnViewChange(Int32)

Called when the view has changed.

Applies to