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
- hier
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy%
The hierarchy node
- itemid
Type: System.UInt32%
The ID of the project item
Return Value
Type: System.Int32
Implements
IVsCfgBrowseObject.GetProjectItem(IVsHierarchy%, UInt32%)
IVsBrowseObject.GetProjectItem(IVsHierarchy%, UInt32%)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace