Partager via


IList.Add Method

When implemented by a class, this method adds a specified object to the IList collection.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public int Add (
         Object value
)

Parameters

  • value
    The object you want to add to the collection.

Return Value

The index number at which the specified object was inserted into the IList collection.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

IList Interface
IList Members
System.Collections Namespace