Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the category values supported by the library for a specified category.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function GetSupportedCategoryFields2 ( _
Category As Integer, _
<OutAttribute> ByRef pgrfCatField As UInteger _
) As Integer
int GetSupportedCategoryFields2(
int Category,
out uint pgrfCatField
)
int GetSupportedCategoryFields2(
[InAttribute] int Category,
[OutAttribute] unsigned int% pgrfCatField
)
abstract GetSupportedCategoryFields2 :
Category:int *
pgrfCatField:uint32 byref -> int
function GetSupportedCategoryFields2(
Category : int,
pgrfCatField : uint
) : int
Parameters
- Category
Type: System.Int32
[in] Specifies a library's category type. Values are taken from the _LIB_CATEGORY2 enumeration.
- pgrfCatField
Type: System.UInt32%
[out] Pointer to a category field object.
Return Value
Type: System.Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.