Share via


IVsObjectSearchPane.SetResultsList Method

Definition

Searches a library and may, depending on the options chosen, display the results in the Results pane.

public:
 int SetResultsList(Microsoft::VisualStudio::Shell::Interop::IVsLibrary ^ pLibrary, Microsoft::VisualStudio::Shell::Interop::IVsObjectList ^ pList, System::UInt32 flags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsObjectListOwner ^ % ppListOwner);
public:
 int SetResultsList(Microsoft::VisualStudio::Shell::Interop::IVsLibrary ^ pLibrary, Microsoft::VisualStudio::Shell::Interop::IVsObjectList ^ pList, unsigned int flags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsObjectListOwner ^ &  ppListOwner);
int SetResultsList(Microsoft::VisualStudio::Shell::Interop::IVsLibrary const & pLibrary, Microsoft::VisualStudio::Shell::Interop::IVsObjectList const & pList, unsigned int flags, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsObjectListOwner const & & ppListOwner);
public int SetResultsList (Microsoft.VisualStudio.Shell.Interop.IVsLibrary pLibrary, Microsoft.VisualStudio.Shell.Interop.IVsObjectList pList, uint flags, out Microsoft.VisualStudio.Shell.Interop.IVsObjectListOwner ppListOwner);
abstract member SetResultsList : Microsoft.VisualStudio.Shell.Interop.IVsLibrary * Microsoft.VisualStudio.Shell.Interop.IVsObjectList * uint32 * IVsObjectListOwner -> int
Public Function SetResultsList (pLibrary As IVsLibrary, pList As IVsObjectList, flags As UInteger, ByRef ppListOwner As IVsObjectListOwner) As Integer

Parameters

pLibrary
IVsLibrary

[in] Pointer to the library (IVsLibrary) to search.

pList
IVsObjectList

[in] Pointer to the IVsObjectList interface to use for the search results.

flags
UInt32

[in] Bit flags determining display of the results. Constructed using values from the __VSOBSEARCHFLAGS enumeration.

ppListOwner
IVsObjectListOwner

[out] Pointer to the IVsObjectListOwner interface of the results. Released by caller.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsObjectSearchPane::SetResultsList(  
   [in] IVsLibrary *pLibrary,   
   [in] IVsObjectList *pList,   
   [in] VSOBSEARCHFLAGS flags,   
   [out]IVsObjectListOwner** ppListOwner  
);  

Applies to