IVsLibrary2.GetSupportedCategoryFields2(Int32, UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the category values supported by the library for a specified category.
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
Parameters
- Category
- Int32
[in] Specifies a library's category type. Values are taken from the _LIB_CATEGORY2 enumeration.
- pgrfCatField
- UInt32
[out] Pointer to a category field object.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsLibrary2::GetSupportedCategoryFields2(
[in] LIB_CATEGORY2 Category,
[out, retval] DWORD *pgrfCatField
);
Assign the pCatField
parameter a value of _LIBCAT_MEMBERTYPE, _LIBCAT_MEMBERACCESS, _LIBCAT_CLASSTYPE, _LIBCAT_CLASSACCESS, _LIBCAT_ACTIVEPROJECT, _LIB_LISTTYPE, _LIBCAT_VISIBILITY, or _LIBCAT_MODIFIERTYPE based on the value passed in through the Category
parameter. Category types are enumerated in _LIB_CATEGORY2.
Return E_FAIL if a category is not supported.