IVsBrowseContainersList.FindContainer Yöntem

Tanım

Bir bileşenin kapsayıcısını bulur.

public:
 int FindContainer(cli::array <Microsoft::VisualStudio::Shell::Interop::VSCOMPONENTSELECTORDATA> ^ pData, [Runtime::InteropServices::Out] System::UInt32 % pulIndex);
int FindContainer(std::Array <Microsoft::VisualStudio::Shell::Interop::VSCOMPONENTSELECTORDATA> const & pData, [Runtime::InteropServices::Out] unsigned int & pulIndex);
public int FindContainer (Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[] pData, out uint pulIndex);
abstract member FindContainer : Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA[] * uint32 -> int
Public Function FindContainer (pData As VSCOMPONENTSELECTORDATA(), ByRef pulIndex As UInteger) As Integer

Parametreler

pData
VSCOMPONENTSELECTORDATA[]

'ndaki  VSCOMPONENTSELECTORDATA Bileşeni tanımlayan bir yapıya yönelik işaretçi.

pulIndex
UInt32

dışı  Bir bileşen dizisindeki kapsayıcının dizini.

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ı

Vsshell80. IDL adresinden:

HRESULT IVsBrowseContainersList::FindContainer(  
   [in] VSCOMPONENTSELECTORDATA * pData,   
   [out] ULONG * pulIndex  
);  

Şunlara uygulanır