Adds an item to the IList.
- value
- The object to add to the IList.
The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.
Type Reason NotSupportedException The current instance is read-only or has a fixed size.