Sdílet prostřednictvím


IVsSolution.GetItemInfoOfProjref(String, Int32, Object) Method

Definition

Obtains the required property for the specified project item reference.

public:
 int GetItemInfoOfProjref(System::String ^ pszProjref, int propid, [Runtime::InteropServices::Out] System::Object ^ % pvar);
int GetItemInfoOfProjref(std::wstring const & pszProjref, int propid, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pvar);
public int GetItemInfoOfProjref (string pszProjref, int propid, out object pvar);
abstract member GetItemInfoOfProjref : string * int * obj -> int
Public Function GetItemInfoOfProjref (pszProjref As String, propid As Integer, ByRef pvar As Object) As Integer

Parameters

pszProjref
String

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

propid
Int32

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

pvar
Object

[out] Property information.

Returns

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

Remarks

COM Signature

From vsshell.idl:

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

Applies to