Removes specified item from the collection.
| C# | Visual Basic | Visual C++ |
public void Remove( T item )
Public Sub Remove ( _ item As T _ )
public: void Remove( T item )
- item (T)
- Item to remove.
| Exception | Condition |
|---|---|
| ArgumentNullException | Is raised when item is null. |