ComponentCollection.Item Property (Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the Component in the collection at the specified collection index.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

abstract Item : 
        index:int -> IComponent with get
override Item : 
        index:int -> IComponent with get


Type: System.Int32

The collection index of the Component to get.

Property Value

Type: System.ComponentModel.IComponent

The IComponent at the specified index.

Exception Condition

If the specified index is not within the index range of the collection.

This method can be overridden by a derived class.

.NET Framework
Available since 1.1
Return to top