IVsObjectList.GetCapabilities Method

Returns an object list's capabilities.

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

Syntax

‘선언
Function GetCapabilities ( _
    <OutAttribute> ByRef pCapabilities As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsObjectList
Dim pCapabilities As UInteger
Dim returnValue As Integer

returnValue = instance.GetCapabilities(pCapabilities)
int GetCapabilities(
    out uint pCapabilities
)
int GetCapabilities(
    [OutAttribute] unsigned int% pCapabilities
)
abstract GetCapabilities : 
        pCapabilities:uint32 byref -> int 
function GetCapabilities(
    pCapabilities : uint
) : int

Parameters

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 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.

.NET Framework Security

See Also

Reference

IVsObjectList Interface

IVsObjectList Members

Microsoft.VisualStudio.Shell.Interop Namespace