IVsObjectSearchPane.SetResultsList(IVsLibrary, IVsObjectList, UInt32, IVsObjectListOwner) Méthode

Définition

Recherche une bibliothèque et peut, selon les options choisies, afficher les résultats dans le volet résultats.

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

Paramètres

pLibrary
IVsLibrary

[in] Pointeur vers la bibliothèque (IVsLibrary) à rechercher.

pList
IVsObjectList

[in] Pointeur vers l'interface IVsObjectList à utiliser pour les résultats de la recherche.

flags
UInt32

[in] Indicateurs de bits déterminant l'affichage des résultats. Construits à l'aide des valeurs de l'énumération __VSOBSEARCHFLAGS.

ppListOwner
IVsObjectListOwner

[out] Pointeur vers l'interface IVsObjectListOwner des résultats. Désactivé par l'appelant.

Retours

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

Remarques

Signature COM

À partir de vsshell. idl :

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

S’applique à