IVsSolution.GetItemInfoOfProjref(String, Int32, Object) Méthode

Définition

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

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

Paramètres

pszProjref
String

[in] Référence d'élément de projet dont les informations sont requises.

propid
Int32

[in] Identificateur de propriété. Pour obtenir la liste des valeurs propid, consultez __VSHPROPID.

pvar
Object

[out] Informations de propriété.

Retours

Int32

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

Remarques

Signature COM

À partir de vsshell. idl :

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

S’applique à