ComponentCollection.Add Method

Inherited from the IList interface, but not implemented.

This method is inherited from the IList interface, but it is not implemented in the ComponentCollection class because it is read-only. It will throw a NotSupportedException if called.

Syntax

public int Add ( object value )

Parameters Description
value The new component to add to the collection.

Return Value

The index of the new component in the collection.