Share via


IVsObjectSearchPane.SetResultsList Method

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)

Syntax

'Declaration
Function SetResultsList ( _
    pLibrary As IVsLibrary, _
    pList As IVsObjectList, _
    flags As UInteger, _
    <OutAttribute> ByRef ppListOwner As IVsObjectListOwner _
) As Integer
int SetResultsList(
    IVsLibrary pLibrary,
    IVsObjectList pList,
    uint flags,
    out IVsObjectListOwner ppListOwner
)
int SetResultsList(
    [InAttribute] IVsLibrary^ pLibrary, 
    [InAttribute] IVsObjectList^ pList, 
    [InAttribute] unsigned int flags, 
    [OutAttribute] IVsObjectListOwner^% ppListOwner
)
abstract SetResultsList : 
        pLibrary:IVsLibrary * 
        pList:IVsObjectList * 
        flags:uint32 * 
        ppListOwner:IVsObjectListOwner byref -> int
function SetResultsList(
    pLibrary : IVsLibrary, 
    pList : IVsObjectList, 
    flags : uint, 
    ppListOwner : IVsObjectListOwner
) : int

Parameters

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsObjectSearchPane Interface

Microsoft.VisualStudio.Shell.Interop Namespace