IVsObjectSearchPane::SetResultsList Method (IVsLibrary^, IVsObjectList^, UInt32, IVsObjectListOwner^)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
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::Int32

If 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
);
Return to top
Show: