Udostępnij za pośrednictwem


IVsLibraryReferenceManager.GetListIndex Method

Definition

Provides browse information for the Object Browser.

public:
 int GetListIndex(cli::array <Microsoft::VisualStudio::Shell::Interop::VSOBJECTINFO> ^ pObjInfo, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsObjectList ^ % pplist, [Runtime::InteropServices::Out] System::UInt32 % pIndex);
int GetListIndex(std::Array <Microsoft::VisualStudio::Shell::Interop::VSOBJECTINFO> const & pObjInfo, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsObjectList const & & pplist, [Runtime::InteropServices::Out] unsigned int & pIndex);
public int GetListIndex (Microsoft.VisualStudio.Shell.Interop.VSOBJECTINFO[] pObjInfo, out Microsoft.VisualStudio.Shell.Interop.IVsObjectList pplist, out uint pIndex);
abstract member GetListIndex : Microsoft.VisualStudio.Shell.Interop.VSOBJECTINFO[] * IVsObjectList * uint32 -> int
Public Function GetListIndex (pObjInfo As VSOBJECTINFO(), ByRef pplist As IVsObjectList, ByRef pIndex As UInteger) As Integer

Parameters

pObjInfo
VSOBJECTINFO[]

[in] A pointer to an object of type VSOBJECTINFO.

pplist
IVsObjectList

[Out] A pointer to a pointer of type IVsObjectList.

pIndex
UInt32

[Out] A pointer to an integer

Returns

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  
);  

Applies to