IVsSolution.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

'ndaki Özellik tanımlayıcısı. Değerlerin listesi için propid bkz __VSHPROPID ..

pvar
Object

dışı Özellik bilgileri bu parametre aracılığıyla çağırana geri geçirilir.

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 IVsSolution::GetProjectInfoOfProjref(  
   [in] LPCOLESTR pszProjref,  
   [in] VSHPROPID propid,  
   [out] VARIANT *pvar  
);  

Şunlara uygulanır