Share via


ProjectHostItemCollection.Item Property (Int32)

Gets the project host item at the specified index in the collection.

Namespace:  Microsoft.VisualStudio.Tools.Applications.DesignTime
Assembly:  Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As IVstaProjectHostItem
'Usage
Dim instance As ProjectHostItemCollection 
Dim index As Integer 
Dim value As IVstaProjectHostItem 

value = instance(index)
public IVstaProjectHostItem this[
    int index
] { get; }
public:
property IVstaProjectHostItem^ default[int index] {
    IVstaProjectHostItem^ get (int index);
}
JScript does not support indexed properties.

Parameters

  • index
    Type: System.Int32

    The location of a host item in the collection.

Property Value

Type: Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop.IVstaProjectHostItem
The project host item at the specified index in the collection.

.NET Framework Security

See Also

Reference

ProjectHostItemCollection Class

ProjectHostItemCollection Members

Item Overload

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace