IVsBrowseObject.GetProjectItem(IVsHierarchy, UInt32) Yöntem

Tanım

Gözat nesnesine karşılık gelen hiyerarşiye veya proje öğesi nesnesine geri eşlenir.

public:
 int GetProjectItem([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ % pHier, [Runtime::InteropServices::Out] System::UInt32 % pItemid);
int GetProjectItem([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & & pHier, [Runtime::InteropServices::Out] unsigned int & pItemid);
public int GetProjectItem (out Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHier, out uint pItemid);
abstract member GetProjectItem : IVsHierarchy * uint32 -> int
Public Function GetProjectItem (ByRef pHier As IVsHierarchy, ByRef pItemid As UInteger) As Integer

Parametreler

pHier
IVsHierarchy

dışı Hiyerarşi nesnesine yönelik işaretçi.

pItemid
UInt32

dışı Proje öğesi 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ı

Vsshell80. IDL adresinden:

HRESULT IVsBrowseObject::GetProjectItem(  
   [out] IVsHierarchy **pHier, [out] VSITEMID *pItemid  
);  

Şunlara uygulanır