xtd 0.2.0
Loading...
Searching...
No Matches

◆ add()

template<typename type_t >
virtual void xtd::collections::generic::icollection< type_t >::add ( const type_t &  item)
pure virtual

Adds an item to the xtd::collections::generic::icollection <type_t>.

Parameters
itemThe object to add to the xtd::collections::generic::icollection <type_t>.
Exceptions
xtd::not_supported_exceptionThe xtd::collections::generic::icollection <type_t> is read-only.

Implemented in xtd::collections::generic::list< type_t, allocator_t >.