Method Insert
Insert(IList<T>, T)
Insert an item at the end of a compatible view, used as a pointer.
The
pointer
must be a view on the same list as
this
and the endpoint of pointer
must be
a valid insertion point of
this
Declaration
void Insert(IList<T> pointer, T item)
Parameters
Type | Name | Description |
---|---|---|
IList<T> | pointer | |
T | item |
Exceptions
Type | Condition |
---|---|
IncompatibleViewException | If
is not a view on the same list as
|
DuplicateNotAllowedException | if the list has and the item is
already in the list. |