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
- 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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsObjectSearchPane::SetResultsList(
[in] IVsLibrary *pLibrary,
[in] IVsObjectList *pList,
[in] VSOBSEARCHFLAGS flags,
[out]IVsObjectListOwner** ppListOwner
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.