IVsSolution2.GetItemInfoOfProjref Method (String, Int32, Object%)

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)

Syntax

'Declaration
Function GetItemInfoOfProjref ( _
    pszProjref As String, _
    propid As Integer, _
    <OutAttribute> ByRef pvar As Object _
) As Integer
'Usage
Dim instance As IVsSolution2 
Dim pszProjref As String 
Dim propid As Integer 
Dim pvar As Object 
Dim returnValue As Integer 

returnValue = instance.GetItemInfoOfProjref(pszProjref, _
    propid, pvar)
int GetItemInfoOfProjref(
    string pszProjref,
    int propid,
    out Object pvar
)
int GetItemInfoOfProjref(
    [InAttribute] String^ pszProjref, 
    [InAttribute] int propid, 
    [OutAttribute] Object^% pvar
)
function GetItemInfoOfProjref(
    pszProjref : String, 
    propid : int, 
    pvar : Object
) : int

Parameters

  • pszProjref
    Type: System.String

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

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsSolution.GetItemInfoOfProjref(String, Int32, Object%)

Remarks

COM Signature

From vsshell.idl:

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

.NET Framework Security

See Also

Reference

IVsSolution2 Interface

IVsSolution2 Members

GetItemInfoOfProjref Overload

Microsoft.VisualStudio.Shell.Interop Namespace