IVsCombinedBrowseComponentSet.GetSupportedCategoryFields2(Int32, UInt32) Método

Definição

Retorna os valores de categoria com suporte do conjunto de componentes combinados para uma categoria especificada.

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

Parâmetros

Category
Int32

Um tipo de categoria compatível com o conjunto de componentes combinados. Um valor ou uma combinação dos _LIB_CATEGORY2 valores.

pgrfCatField
UInt32

fora Um campo de categoria. Consulte comentários para obter os valores possíveis.

Retornos

Int32

Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.

Implementações

Comentários

Assinatura COM

De vsshell80. idl:

HRESULT GetSupportedCategoryFields2(  
[in] LIB_CATEGORY2 Category,   
[out, retval] DWORD *pgrfCatField  
);  

Atribua ao pCatField parâmetro um valor de,,,, _LIBCAT_MEMBERTYPE _LIBCAT_MEMBERACCESS ,, _LIBCAT_CLASSTYPE _LIBCAT_CLASSACCESS _LIBCAT_ACTIVEPROJECT _LIB_LISTTYPE _LIBCAT_VISIBILITY ou _LIBCAT_MODIFIERTYPE com base no valor passado por meio do Category parâmetro. Os tipos de categoria são enumerados na _LIB_CATEGORY2 enumeração.

Retornar E_FAIL se não houver suporte para uma categoria.

Aplica-se a