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
.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
OANavigableProjectItems Members
Microsoft.VisualStudio.Data.Schema.Project.Automation Namespace