Share via


ProjectConfig.GetProjectItem Method

Gets the hierarchy node or project item corresponding to the browse object.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project.MPF
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Overridable Function GetProjectItem ( _
    <OutAttribute> ByRef hier As IVsHierarchy, _
    <OutAttribute> ByRef itemid As UInteger _
) As Integer
'Usage
Dim instance As ProjectConfig
Dim hier As IVsHierarchy
Dim itemid As UInteger
Dim returnValue As Integer

returnValue = instance.GetProjectItem(hier, _
    itemid)
public virtual int GetProjectItem(
    out IVsHierarchy hier,
    out uint itemid
)
public:
virtual int GetProjectItem(
    [OutAttribute] IVsHierarchy^% hier, 
    [OutAttribute] unsigned int% itemid
)
public function GetProjectItem(
    hier : IVsHierarchy, 
    itemid : uint
) : int
abstract GetProjectItem : 
        hier:IVsHierarchy * 
        itemid:uint32 -> int 
override GetProjectItem : 
        hier:IVsHierarchy * 
        itemid:uint32 -> int 

Parameters

Return Value

Type: System.Int32

Implements

IVsCfgBrowseObject.GetProjectItem(IVsHierarchy%, UInt32%)
IVsBrowseObject.GetProjectItem(IVsHierarchy%, UInt32%)

.NET Framework Security

See Also

Reference

ProjectConfig Class

ProjectConfig Members

Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace