IVsSolution2.GetProjectInfoOfProjref(String, Int32, Object) Méthode

Définition

Obtient la propriété requise pour la référence de projet spécifiée.

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

Paramètres

pszProjref
String

[in] Référence de projet dont les informations sont requises.

propid
Int32
pvar
Object

Retours

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

Implémente

Remarques

Signature COM

À partir de vsshell. idl :

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

S’applique à