IVsLibrary::GetSupportedCategoryFields Method (LIB_CATEGORY, UInt32)
Visual Studio 2015
Returns the category values supported by the library for a specified category.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int GetSupportedCategoryFields( LIB_CATEGORY Category, [OutAttribute] unsigned int% pCatField )
Parameters
- Category
-
Type:
Microsoft.VisualStudio.Shell.Interop::LIB_CATEGORY
[in] Specifies a library's category type. Values are taken from the LIB_CATEGORY enumeration.
- pCatField
-
Type:
System::UInt32
[out] Pointer to a category field object.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsLibrary::GetSupportedCategoryFields(
[in] LIB_CATEGORY Category,
[out, retval] DWORD *pCatField
);
Assign pCatField an enumerator of _LIBCAT_MEMBERTYPE, _LIBCAT_MEMBERACCESS, _LIBCAT_CLASSTYPE, _LIBCAT_CLASSACCESS, _LIBCAT_ACTIVEPROJECT, _LIB_LISTTYPE, _LIBCAT_VISIBILITY, or _LIBCAT_MODIFIERTYPE based on the enumerator value passed in through Category. Category types are enumerated in LIB_CATEGORY.
Return E_FAIL if a category is not supported.
Show: