.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    AddAllAsync Method

    AddAllAsync<TItem>(Int32, ICollection<TItem>)

    Inserts all of the elements in the specified collection into this list at the specified position.

    Declaration
    Task<bool> AddAllAsync<TItem>(int index, ICollection<TItem> items)
        where TItem : T
    Parameters
    Int32 index

    index at which to insert the first element from the specified collection

    ICollection<TItem> items

    collection containing elements to be added to this list

    Returns
    Task<Boolean>

    true if this list changed as a result of the call

    Type Parameters
    TItem
    Remarks

    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.)

    In This Article
    Back to top Copyright © 2010-2022 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.