IVsExtensionManager.GetEnabledExtensionContentLocations 方法 (String)

特定类型的所有目录路径的集合的查询中启用的扩展中包括。

命名空间:  Microsoft.VisualStudio.ExtensionManager
程序集:  Microsoft.VisualStudio.ExtensionManager(在 Microsoft.VisualStudio.ExtensionManager.dll 中)

语法

声明
Function GetEnabledExtensionContentLocations ( _
    contentTypeName As String _
) As IEnumerable(Of String)
IEnumerable<string> GetEnabledExtensionContentLocations(
    string contentTypeName
)
IEnumerable<String^>^ GetEnabledExtensionContentLocations(
    String^ contentTypeName
)
abstract GetEnabledExtensionContentLocations : 
        contentTypeName:string -> IEnumerable<string> 
function GetEnabledExtensionContentLocations(
    contentTypeName : String
) : IEnumerable<String>

参数

  • contentTypeName
    类型:String

    筛选要搜索的内容类型。

返回值

类型:IEnumerable<String>
contentTypeName 对应于 VSIX 内容 元素的子级清单为扩展扩展路径的集合。

备注

尽管此 API 支持 扩展管理器 基础结构,不建议使用它,因为它可能会发生更改。

.NET Framework 安全性

请参阅

参考

IVsExtensionManager 接口

GetEnabledExtensionContentLocations 重载

Microsoft.VisualStudio.ExtensionManager 命名空间