[This is preliminary documentation and is subject to change.]
Adds an item to the IList.
| C# | Visual Basic | Visual C++ |
protected int Add( Object value )
Protected Function Add ( _ value As Object _ ) As Integer
protected: int Add( Object^ value )
- value (Object)
- The item to add to the IList.
The position into which the new element was inserted.
Method access is protected. Only to be accessed by subclass.
| Exception | Condition |
|---|---|
| ArgumentNullException | Argument is a nullNothingnullptr reference. |