IVsSolution2.GetProjectInfoOfProjref(String, Int32, Object) Yöntem

Tanım

Belirtilen proje başvurusu için gerekli özelliği edinir.

public:
 int GetProjectInfoOfProjref(System::String ^ pszProjref, int propid, [Runtime::InteropServices::Out] System::Object ^ % pvar);
int GetProjectInfoOfProjref(std::wstring const & pszProjref, int propid, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pvar);
public int GetProjectInfoOfProjref (string pszProjref, int propid, out object pvar);
abstract member GetProjectInfoOfProjref : string * int * obj -> int
Public Function GetProjectInfoOfProjref (pszProjref As String, propid As Integer, ByRef pvar As Object) As Integer

Parametreler

pszProjref
String

'ndaki Hangi bilgilerin gerekli olduğu proje başvurusu.

propid
Int32
pvar
Object

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.

Uygulamalar

Açıklamalar

COM Imzası

Vsshell. IDL dosyasından:

HRESULT IVsSolution2::GetProjectInfoOfProjref(  
   [in] LPCOLESTR pszProjref,   
   [in] VSHPROPID propid,   
   [out] VARIANT *pvar  
   );  

Şunlara uygulanır