IVsSimpleObjectList2.GetCapabilities2(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 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:
HRESULT IVsSimpleObjectList2::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 IVsSimpleObjectList2 interface is implemented. For the list of capabilities see _LIB_LISTCAPABILITIES.