Op Englesch liesen

Deelen iwwer


IVsContainedLanguageFactory Interface

Definition

Provides creation of contained languages.

C++/CX
public interface class 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

Produkt Versiounen
Visual Studio SDK 2015, 2017, 2019, 2022