IVsLibraryReferenceManager.GetListIndex Method

Provides browse information for the Object Browser.

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

Syntax

'Declaration
Function GetListIndex ( _
    pObjInfo As VSOBJECTINFO(), _
    <OutAttribute> ByRef pplist As IVsObjectList, _
    <OutAttribute> ByRef pIndex As UInteger _
) As Integer
int GetListIndex(
    VSOBJECTINFO[] pObjInfo,
    out IVsObjectList pplist,
    out uint pIndex
)
int GetListIndex(
    [InAttribute] array<VSOBJECTINFO>^ pObjInfo, 
    [OutAttribute] IVsObjectList^% pplist, 
    [OutAttribute] unsigned int% pIndex
)
abstract GetListIndex : 
        pObjInfo:VSOBJECTINFO[] * 
        pplist:IVsObjectList byref * 
        pIndex:uint32 byref -> int
function GetListIndex(
    pObjInfo : VSOBJECTINFO[], 
    pplist : IVsObjectList, 
    pIndex : uint
) : int

Parameters

  • pIndex
    Type: UInt32%

    [Out] A pointer to an integer

Return Value

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsLibraryReferenceManager::GetListIndex(
   [in] VSOBJECTINFO *pobjInfo, 
   [out] IVsObjectList** ppList, 
   [out] ULONG *pIndex
);

.NET Framework Security

See Also

Reference

IVsLibraryReferenceManager Interface

Microsoft.VisualStudio.Shell.Interop Namespace