Share via


IVstaProjectHostItemCollection.Item Property (Int32)

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

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

Syntax

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

value = instance(index)
IVstaProjectHostItem this[
    int index
] { get; }
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

IVstaProjectHostItemCollection Interface

IVstaProjectHostItemCollection Members

Item Overload

Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop Namespace