共用方式為


IVsExtensionRepository.GetCategoryTree Method (Int32, String, String, List<String>, List<String>, List<Int32>, List<Int32>, String)

Gets category information, according to the specified values.

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

Syntax

'宣告
Function GetCategoryTree ( _
    categoryId As Integer, _
    projectType As String, _
    templateType As String, _
    skus As List(Of String), _
    subSkus As List(Of String), _
    templateGroupIds As List(Of Integer), _
    vsVersions As List(Of Integer), _
    cultureName As String _
) As IRepositoryCategory
IRepositoryCategory GetCategoryTree(
    int categoryId,
    string projectType,
    string templateType,
    List<string> skus,
    List<string> subSkus,
    List<int> templateGroupIds,
    List<int> vsVersions,
    string cultureName
)
IRepositoryCategory^ GetCategoryTree(
    int categoryId, 
    String^ projectType, 
    String^ templateType, 
    List<String^>^ skus, 
    List<String^>^ subSkus, 
    List<int>^ templateGroupIds, 
    List<int>^ vsVersions, 
    String^ cultureName
)
abstract GetCategoryTree : 
        categoryId:int * 
        projectType:string * 
        templateType:string * 
        skus:List<string> * 
        subSkus:List<string> * 
        templateGroupIds:List<int> * 
        vsVersions:List<int> * 
        cultureName:string -> IRepositoryCategory 
function GetCategoryTree(
    categoryId : int, 
    projectType : String, 
    templateType : String, 
    skus : List<String>, 
    subSkus : List<String>, 
    templateGroupIds : List<int>, 
    vsVersions : List<int>, 
    cultureName : String
) : IRepositoryCategory

Parameters

Return Value

Type: Microsoft.VisualStudio.ExtensionManager.IRepositoryCategory
An IRepositoryCategory object that contains the results of the query.

Remarks

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

.NET Framework Security

See Also

Reference

IVsExtensionRepository Interface

GetCategoryTree Overload

Microsoft.VisualStudio.ExtensionManager Namespace