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

‘선언
Function SetResultsList ( _
    pLibrary As IVsLibrary, _
    pList As IVsObjectList, _
    flags As UInteger, _
    <OutAttribute> ByRef ppListOwner As IVsObjectListOwner _
) As Integer
‘사용 방법
Dim instance As IVsObjectSearchPane
Dim pLibrary As IVsLibrary
Dim pList As IVsObjectList
Dim flags As UInteger
Dim ppListOwner As IVsObjectListOwner
Dim returnValue As Integer

returnValue = instance.SetResultsList(pLibrary, _
    pList, flags, ppListOwner)
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

IVsObjectSearchPane Members

Microsoft.VisualStudio.Shell.Interop Namespace