提供包含语言的创建。
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)
语法
声明
<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
IVsContainedLanguageFactory 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
![]() |
GetLanguage | 返回 PRIMARY LANGUAGE 可以使用委托管理一个包含语言的特定职责的 IVsContainedLanguage 对象。 |
页首
备注
此接口用于获取表示大型可以嵌入到文档的特定语言的 IVsContainedLanguage 对象。
对实现者的说明
,如果它支持包含的语言,此接口由语言服务实现。
对调用者的说明
使用语言服务的 GUID,此接口可以通过调用 IServiceProvider 对象的 QueryService 方法获取。 如果语言服务支持包含的语言,则此接口从 QueryService 方法返回。