IVsLibraryReferenceManager.GetListIndex Yöntem

Tanım

Nesne Tarayıcısı için tarama bilgileri sağlar.

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

Parametreler

pObjInfo
VSOBJECTINFO[]

'ndaki VSOBJECTıNFO türünde bir nesne için bir işaretçi.

pplist
IVsObjectList

Dışı Isobjectlist türünde bir işaretçiye yönelik işaretçi.

pIndex
UInt32

Dışı Tamsayı işaretçisi

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 IVsLibraryReferenceManager::GetListIndex(  
   [in] VSOBJECTINFO *pobjInfo,   
   [out] IVsObjectList** ppList,   
   [out] ULONG *pIndex  
);  

Şunlara uygulanır