IVsLibraryReferenceManager::GetListIndex Method (array<VSOBJECTINFO>^, IVsObjectList^, UInt32)

 

Provides browse information for the Object Browser.

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

int GetListIndex(
	array<VSOBJECTINFO>^ pObjInfo,
	[OutAttribute] IVsObjectList^% pplist,
	[OutAttribute] unsigned int% pIndex
)

Parameters

pObjInfo
Type: array<Microsoft.VisualStudio.Shell.Interop::VSOBJECTINFO>^

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

pplist
Type: Microsoft.VisualStudio.Shell.Interop::IVsObjectList^

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

pIndex
Type: System::UInt32

[Out] A pointer to an integer

Return Value

Type: System::Int32

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

From vsshell.idl:

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