Compartilhar via


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)

Syntax

'Declaration
<GuidAttribute("9FD1BD52-9D32-4697-B446-36582B865C34")> _
<InterfaceTypeAttribute()> _
Public Interface IVsContainedLanguageFactory
[GuidAttribute("9FD1BD52-9D32-4697-B446-36582B865C34")]
[InterfaceTypeAttribute()]
public interface IVsContainedLanguageFactory
[GuidAttribute(L"9FD1BD52-9D32-4697-B446-36582B865C34")]
[InterfaceTypeAttribute()]
public interface class IVsContainedLanguageFactory
[<GuidAttribute("9FD1BD52-9D32-4697-B446-36582B865C34")>]
[<InterfaceTypeAttribute()>]
type IVsContainedLanguageFactory =  interface end
public interface IVsContainedLanguageFactory

The IVsContainedLanguageFactory type exposes the following members.

Methods

  Name Description
Public method GetLanguage Returns an IVsContainedLanguage object that a primary language can use to delegate certain responsibilities for managing a contained language.

Top

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

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace