BigListTInsertRange Method (Int32, BigListT) |
Inserts a BigList of items at the given index in the BigList. All items at indexes
equal to or greater than index increase their indices
by the number of items inserted.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic void InsertRange(
int index,
BigList<T> list
)
public:
void InsertRange(
int index,
BigList<T>^ list
)
Parameters
- index
- Type: SystemInt32
The index to insert the collection at. After the
insertion, the first item of the inserted collection is located at this index. The
first item has index 0. - list
- Type: X3Platform.CollectionsBigListT
The BigList of items to insert at the given index.
Exceptions
RemarksThe amount of time to insert another BigList is O(log N),
where N is the number of items in the list, regardless of the number of items in the
inserted list. Storage is shared between the two lists until one of them is changed.
See Also