ComponentCollection.Item Property (Int32)


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

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

Public Overridable ReadOnly Property Item (
	index As Integer
) As IComponent


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