共用方式為


IVsContainedLanguageFactory Interface

Definition

Provides creation of contained languages.

public interface class IVsContainedLanguageFactory
public interface class IVsContainedLanguageFactory
__interface IVsContainedLanguageFactory
[System.Runtime.InteropServices.Guid("9FD1BD52-9D32-4697-B446-36582B865C34")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsContainedLanguageFactory
[System.Runtime.InteropServices.Guid("9FD1BD52-9D32-4697-B446-36582B865C34")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsContainedLanguageFactory
[<System.Runtime.InteropServices.Guid("9FD1BD52-9D32-4697-B446-36582B865C34")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsContainedLanguageFactory = interface
[<System.Runtime.InteropServices.Guid("9FD1BD52-9D32-4697-B446-36582B865C34")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsContainedLanguageFactory = interface
Public Interface IVsContainedLanguageFactory
Attributes

Remarks

This interface is used to obtain an IVsContainedLanguage object representing a particular language that can be embedded in a larger document.

Notes to Implementers

This interface is implemented by a language service if it supports contained languages.

Notes to Callers

This interface can be obtained by calling the QueryService(Guid, Guid, IntPtr) method on an IServiceProvider object using a language service's GUID. If the language service supports contained languages, then this interface is returned from the QueryService(Guid, Guid, IntPtr) method.

Methods

GetLanguage(IVsHierarchy, UInt32, IVsTextBufferCoordinator, IVsContainedLanguage)

Returns an IVsContainedLanguage object that a primary language can use to delegate certain responsibilities for managing a contained language.

Applies to