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
類型:Int32The Id of the root category to be queried.
cultureName
類型:StringThe 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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。