Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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(
	string pszProjref,
	int propid,
	out Object pvar
)

Parameters

pszProjref
Type: System.String
[in] Project item reference for which information is required.
propid
Type: System.Int32
[in] Property identifier. For a list of propid values, see __VSHPROPID.
pvar
Type: System.Object
[out] Property information.

Return Value

Type: System.Int32
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
);

Community Additions

ADD
Show:
© 2015 Microsoft