OANavigableProjectItems.Item Method

Gets ProjectItem from the index.

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

Syntax

'Declaration
Public Overridable Function Item ( _
    index As Object _
) As ProjectItem
'Usage
Dim instance As OANavigableProjectItems
Dim index As Object
Dim returnValue As ProjectItem

returnValue = instance.Item(index)
public virtual ProjectItem Item(
    Object index
)
public:
virtual ProjectItem^ Item(
    Object^ index
)
public function Item(
    index : Object
) : ProjectItem
abstract Item : 
        index:Object -> ProjectItem 
override Item : 
        index:Object -> ProjectItem 

Parameters

  • index
    Type: System.Object
    Specifies either index by number (1-based) or by the name used to get the item

Return Value

Type: EnvDTE.ProjectItem

Implements

ProjectItems.Item(Object)

.NET Framework Security

See Also

Reference

OANavigableProjectItems Class

OANavigableProjectItems Members

Microsoft.VisualStudio.Data.Schema.Project.Automation Namespace