Compartir a través de


IVsObjectList.GetCapabilities(UInt32) Method

Definition

Returns an object list's capabilities.

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

Parameters

pCapabilities
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 vsshell.idl:

HRESULT IVsObjectList::GetCapabilities(  
   [out] LIB_LISTCAPABILITIES *pCapabilities  
);  

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

Applies to