![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IHListTAddAllTE Method (Int32, ICollectionTE) |
Inserts all of the elements in the specified collection into this
list at the specified position (optional operation). Shifts the
element currently at that position (if any) and any subsequent
elements to the right (increases their indices). The new elements
will appear in this list in the order that they are returned by the
specified collection's iterator. The behavior of this operation is
undefined if the specified collection is modified while the
operation is in progress. (Note that this will occur if the specified
collection is this list, and it's nonempty.)
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxbool AddAll<TE>(
int index,
ICollection<TE> c
)
where TE : T
Function AddAll(Of TE As T) (
index As Integer,
c As ICollection(Of TE)
) As Boolean
generic<typename TE>
where TE : T
bool AddAll(
int index,
ICollection<TE>^ c
)
abstract AddAll :
index : int *
c : ICollection<'TE> -> bool when 'TE : 'T
Parameters
- index
- Type: SystemInt32
index at which to insert the first element from the specified collection - c
- Type: System.Collections.GenericICollectionTE
collection containing elements to be added to this list
Type Parameters
- TE
Return Value
Type:
Booleantrue if this list changed as a result of the call
See Also