Export (0) Print
Expand All

IVsObjectList2.GetCapabilities2 Method

Returns an object list's capabilities.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int GetCapabilities2(
	out uint pgrfCapabilities
)

Parameters

pgrfCapabilities
Type: UInt32

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

Return Value

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

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.

Show:
© 2015 Microsoft