Share via


IVsSolution.GetProjectInfoOfProjref(String, Int32, Object) Method

Definition

Obtains the required property for the specified project reference.

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

Parameters

pszProjref
String

[in] Project reference for which information is required.

propid
Int32

[in] Property identifier. For a list of propid values, see __VSHPROPID.

pvar
Object

[out] Property information is passed back to the caller through this parameter.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

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

Applies to