IVsExtensionRepository.GetSubCategories, méthode (Int32, String, String, List<String>, List<String>, List<Int32>, List<Int32>, String)
Remarque : cette API est maintenant obsolète.
Gets the subcategories of a category as an enumerable IRepositoryCategory instance, based on the category attributes.
Espace de noms : Microsoft.VisualStudio.ExtensionManager
Assembly : Microsoft.VisualStudio.ExtensionManager (dans Microsoft.VisualStudio.ExtensionManager.dll)
Syntaxe
'Déclaration
<ObsoleteAttribute("This method is obsolete. Please use GetCategoryTree instead.", _
True)> _
Function GetSubCategories ( _
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 IEnumerable(Of IRepositoryCategory)
[ObsoleteAttribute("This method is obsolete. Please use GetCategoryTree instead.",
true)]
IEnumerable<IRepositoryCategory> GetSubCategories(
int categoryId,
string projectType,
string templateType,
List<string> skus,
List<string> subSkus,
List<int> templateGroupIds,
List<int> vsVersions,
string cultureName
)
[ObsoleteAttribute(L"This method is obsolete. Please use GetCategoryTree instead.",
true)]
IEnumerable<IRepositoryCategory^>^ GetSubCategories(
int categoryId,
String^ projectType,
String^ templateType,
List<String^>^ skus,
List<String^>^ subSkus,
List<int>^ templateGroupIds,
List<int>^ vsVersions,
String^ cultureName
)
[<ObsoleteAttribute("This method is obsolete. Please use GetCategoryTree instead.",
true)>]
abstract GetSubCategories :
categoryId:int *
projectType:string *
templateType:string *
skus:List<string> *
subSkus:List<string> *
templateGroupIds:List<int> *
vsVersions:List<int> *
cultureName:string -> IEnumerable<IRepositoryCategory>
function GetSubCategories(
categoryId : int,
projectType : String,
templateType : String,
skus : List<String>,
subSkus : List<String>,
templateGroupIds : List<int>,
vsVersions : List<int>,
cultureName : String
) : IEnumerable<IRepositoryCategory>
Paramètres
- categoryId
Type : Int32
- projectType
Type : String
- templateType
Type : String
- skus
Type : List<String>
- subSkus
Type : List<String>
- templateGroupIds
Type : List<Int32>
- vsVersions
Type : List<Int32>
- cultureName
Type : String
Valeur de retour
Type : IEnumerable<IRepositoryCategory>
Notes
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.