共用方式為


IVsExtensionRepository.GetCategoryTree Method (Int32, String)

Gets category information that specifies only categoryId and culture information.

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

Syntax

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

Parameters

  • categoryId
    Type: System.Int32
    An identifier for a set of category information.
  • cultureName
    Type: System.String
    The current user interface (UI) culture.

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.

The unspecified parameters are sent a default value, typically nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

IVsExtensionRepository Interface

GetCategoryTree Overload

Microsoft.VisualStudio.ExtensionManager Namespace