Export (0) Print
Expand All

IVsContainedLanguageFactory Interface

Provides creation of contained languages.

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

public interface IVsContainedLanguageFactory

The IVsContainedLanguageFactory type exposes the following members.

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

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 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 method.

© 2014 Microsoft