IVsObjectList2.GetCapabilities2(UInt32) Method

Definition

Returns an object list's capabilities.

public:
 int GetCapabilities2([Runtime::InteropServices::Out] System::UInt32 % pgrfCapabilities);
int GetCapabilities2([Runtime::InteropServices::Out] unsigned int & pgrfCapabilities);
public int GetCapabilities2 (out uint pgrfCapabilities);
abstract member GetCapabilities2 : uint32 -> int
Public Function GetCapabilities2 (ByRef pgrfCapabilities As UInteger) As Integer

Parameters

pgrfCapabilities
UInt32

[out] Specifies an object list's capabilities. Values are taken from the _LIB_LISTCAPABILITIES enumeration.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

[C++]

HRESULT IVsObjectList2::GetCapabilities2(  
   [out] LIB_LISTCAPABILITIES2 *pgrfCapabilities  
);  

The environment's object manager calls this method to retrieve the enumerated capabilities of the object list on which the IVsObjectList2 interface is implemented. For the list of capabilities see _LIB_LISTCAPABILITIES.

Applies to