IVsSimpleBrowseComponentSet.GetSupportedCategoryFields2(Int32, UInt32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne les valeurs de catégorie prises en charge par le composant défini pour une catégorie spécifiée.
public:
int GetSupportedCategoryFields2(int Category, [Runtime::InteropServices::Out] System::UInt32 % pgrfCatField);
int GetSupportedCategoryFields2(int Category, [Runtime::InteropServices::Out] unsigned int & pgrfCatField);
public int GetSupportedCategoryFields2 (int Category, out uint pgrfCatField);
abstract member GetSupportedCategoryFields2 : int * uint32 -> int
Public Function GetSupportedCategoryFields2 (Category As Integer, ByRef pgrfCatField As UInteger) As Integer
Paramètres
- Category
- Int32
Type de catégorie que le jeu de composants prend en charge. Valeur ou combinaison des valeurs _LIB_CATEGORY2.
- pgrfCatField
- UInt32
[out] Champ de catégorie. Consultez Notes pour connaitre les valeurs possibles.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Implémente
Remarques
Signature COM
À partir de vsshell80. idl :
HRESULT GetSupportedCategoryFields2(
[in] LIB_CATEGORY2 Category,
[out, retval] DWORD *pgrfCatField
);
Affectez au pCatField paramètre la valeur _LIBCAT_MEMBERTYPE , _LIBCAT_MEMBERACCESS , _LIBCAT_CLASSTYPE , _LIBCAT_CLASSACCESS , _LIBCAT_ACTIVEPROJECT , _LIB_LISTTYPE , _LIBCAT_VISIBILITY ou _LIBCAT_MODIFIERTYPE en fonction de la valeur passée dans le Category paramètre. Les types de catégorie sont énumérés dans l' _LIB_CATEGORY2 énumération.
Retourne E_FAIL si une catégorie n’est pas prise en charge.