Поделиться через


IVsExtensionRepository.GetSubCategories - метод (Int32, String)

Примечание. Данный API устарел.

Gets the subcategories of a root category.

Пространство имен:  Microsoft.VisualStudio.ExtensionManager
Сборка:  Microsoft.VisualStudio.ExtensionManager (в Microsoft.VisualStudio.ExtensionManager.dll)

Синтаксис

'Декларация
<ObsoleteAttribute("This method is obsolete. Please use GetCategoryTree instead.",  _
    True)> _
Function GetSubCategories ( _
    categoryId As Integer, _
    cultureName As String _
) As IEnumerable(Of IRepositoryCategory)
[ObsoleteAttribute("This method is obsolete. Please use GetCategoryTree instead.", 
    true)]
IEnumerable<IRepositoryCategory> GetSubCategories(
    int categoryId,
    string cultureName
)
[ObsoleteAttribute(L"This method is obsolete. Please use GetCategoryTree instead.", 
    true)]
IEnumerable<IRepositoryCategory^>^ GetSubCategories(
    int categoryId, 
    String^ cultureName
)
[<ObsoleteAttribute("This method is obsolete. Please use GetCategoryTree instead.", 
    true)>]
abstract GetSubCategories : 
        categoryId:int * 
        cultureName:string -> IEnumerable<IRepositoryCategory> 
function GetSubCategories(
    categoryId : int, 
    cultureName : String
) : IEnumerable<IRepositoryCategory>

Параметры

  • categoryId
    Тип: Int32

    The Id of the root category to be queried.

  • cultureName
    Тип: String

    The current user interface (UI) culture.

Возвращаемое значение

Тип: IEnumerable<IRepositoryCategory>
A collection of IRepositoryCategory objects that represent the subcategories of the root category that is specified by categoryId.

Заметки

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

Безопасность платформы .NET Framework

См. также

Ссылки

IVsExtensionRepository Интерфейс

GetSubCategories - перегрузка

Microsoft.VisualStudio.ExtensionManager - пространство имен