IVsObjectSearchPane::SetResultsList Method (IVsLibrary^, IVsObjectList^, UInt32, IVsObjectListOwner^)
Visual Studio 2015
Searches a library and may, depending on the options chosen, display the results in the Results pane.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int SetResultsList( IVsLibrary^ pLibrary, IVsObjectList^ pList, unsigned int flags, [OutAttribute] IVsObjectListOwner^% ppListOwner )
Parameters
- pLibrary
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsLibrary^
[in] Pointer to the library (IVsLibrary) to search.
- pList
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsObjectList^
[in] Pointer to the IVsObjectList interface to use for the search results.
- flags
-
Type:
System::UInt32
[in] Bit flags determining display of the results. Constructed using values from the __VSOBSEARCHFLAGS enumeration.
- ppListOwner
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsObjectListOwner^
[out] Pointer to the IVsObjectListOwner interface of the results. Released by caller.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsObjectSearchPane::SetResultsList( [in] IVsLibrary *pLibrary, [in] IVsObjectList *pList, [in] VSOBSEARCHFLAGS flags, [out]IVsObjectListOwner** ppListOwner );
Show: