IVsObjectManager2::GetListAndIndex Method (IVsNavInfo^, UInt32, IVsObjectList2^, UInt32)
Visual Studio 2015
Finds an IVsObjectList2 and an index of a symbol defined by IVsNavInfo.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int GetListAndIndex( IVsNavInfo^ pNavInfo, unsigned int dwFlags, [OutAttribute] IVsObjectList2^% ppList, [OutAttribute] unsigned int% pIndex )
Parameters
- pNavInfo
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsNavInfo^
The IVsNavInfo that identifies a symbol in the hierarchical tree of symbols.
- dwFlags
-
Type:
System::UInt32
A single value or a combination of the _LIB_LISTFLAGS values. Specifies a symbol browsing tool, such as Class View or Object Browser
- ppList
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsObjectList2^
The IVsObjectList2 that provides information about the symbol.
- pIndex
-
Type:
System::UInt32
The position of the symbol in the IVsObjectList2 zero-based list.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT GetListAndIndex( [in] IVsNavInfo * pNavInfo, [in] DWORD dwFlags, [out] IVsObjectList2 ** ppList, [out] ULONG * pIndex );
Show: