다음을 통해 공유


IVsSolution2.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
pvar
Object

Returns

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

Implements

Remarks

COM Signature

From vsshell.idl:

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

Applies to