Add Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Adds an item to the IList.

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

abstract Add : 
        value:Object -> int 

Parameters

value
Type: System..::..Object
The object to add to the IList.

Return Value

Type: System..::..Int32
The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection,

Show: