IVsObjectSearchPane.SetResultsList Yöntem

Tanım

Bir kitaplığı arar ve seçilen seçeneklere bağlı olarak sonuçları sonuçlar bölmesinde görüntüler.

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

Parametreler

pLibrary
IVsLibrary

'ndaki Aranacak kitaplık () işaretçisi IVsLibrary .

pList
IVsObjectList

'ndaki Arama sonuçları için kullanılacak ısobjectlist arabirimine yönelik işaretçi.

flags
UInt32

'ndaki Sonuçların görüntülenmesini belirleyen bit bayrakları. Numaralandırmadaki değerler kullanılarak oluşturulur __VSOBSEARCHFLAGS .

ppListOwner
IVsObjectListOwner

dışı Sonuçların ısobjectlıwner arabirimine yönelik işaretçi. Çağıran tarafından yayınlandı.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

COM Imzası

Vsshell. IDL dosyasından:

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

Şunlara uygulanır