Method Add
Add(object?)
Adds an item to the IList.
public override int Add(object? value)
Parameters
Returns
- int
The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.
Exceptions
- NotSupportedException
The IList is read-only.
-or-
The IList has a fixed size.