An NDoc Documented Class Library

TieredVector.Insert Method 

Insert an element at a specified position into the tiered vector.

public virtual void Insert(
   int pos,
   object o
);

Parameters

pos
The position to insert the element at.
o
The element to insert.

Implements

IList.Insert

Remarks

Unless overridden by a derived class, this method will always throw an InvalidOperationException, since the tiered vector does not support direct insertion for fear of unsorting the elements.

Exceptions

Exception TypeCondition
InvalidOperationException Direct insertion into a tiered vector is not supported.

See Also

TieredVector Class | Ringlet.Collections Namespace