共用方式為


IVsExtensionRepository.GetSubCategories Method (Int32, String)

Gets the subcategories of a root category.

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

Syntax

'宣告
Function GetSubCategories ( _
    categoryId As Integer, _
    cultureName As String _
) As IEnumerable(Of IRepositoryCategory)
IEnumerable<IRepositoryCategory> GetSubCategories(
    int categoryId,
    string cultureName
)
IEnumerable<IRepositoryCategory^>^ GetSubCategories(
    int categoryId, 
    String^ cultureName
)
abstract GetSubCategories : 
        categoryId:int * 
        cultureName:string -> IEnumerable<IRepositoryCategory> 
function GetSubCategories(
    categoryId : int, 
    cultureName : String
) : IEnumerable<IRepositoryCategory>

Parameters

  • categoryId
    Type: System.Int32
    The Id of the root category to be queried.
  • cultureName
    Type: System.String
    The current user interface (UI) culture.

Return Value

Type: System.Collections.Generic.IEnumerable<IRepositoryCategory>
A collection of IRepositoryCategory objects that represent the subcategories of the root category that is specified by categoryId.

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

GetSubCategories Overload

Microsoft.VisualStudio.ExtensionManager Namespace