Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- value
- The element that this method will add to the end of the collection.
Return Value
The zero-based index of the newly added element.Exception | Description |
---|---|
System.ArgumentNullException | Indicates that the element is null. This method will not add null to the collection. |
This method implements a standard collection operation. It will make
the collection one element longer, and then place the given element into
the last index. It will not change the rest of the collection.