IVsSolution2::GetProjectInfoOfProjref Method (String^, Int32, Object^)

 

Obtains the required property for the specified project reference.

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

int GetProjectInfoOfProjref(
	String^ pszProjref,
	int propid,
	[OutAttribute] Object^% pvar
)

Parameters

pszProjref
Type: System::String^

[in] Project reference for which information is required.

Propid

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

Pvar

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

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsSolution2::GetProjectInfoOfProjref(
   [in] LPCOLESTR pszProjref, 
   [in] VSHPROPID propid, 
   [out] VARIANT *pvar
   );
Return to top
Show: