This documentation is archived and is not being maintained.

IVsSolution.GetItemInfoOfProjref Method

Obtains the required property for the specified project item reference.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

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

Parameters

pszProjref

[in] Project item reference for which information is required.

propid

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

pvar

[out] Property information.

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