This documentation is archived and is not being maintained.

IVsSolution.GetProjectInfoOfProjref Method

Obtains the required property for the specified project reference.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int GetProjectInfoOfProjref (
	[InAttribute] string pszProjref,
	[InAttribute] int propid,
	out Object pvar
int GetProjectInfoOfProjref (
	/** @attribute InAttribute() */ String pszProjref, 
	/** @attribute InAttribute() */ int propid, 
	/** @attribute OutAttribute() */ /** @ref */ Object pvar
JScript does not support passing value-type arguments by reference.



[in] Project reference for which information is required.


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


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

Return Value

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

COM Signature

From vsshell.idl:

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