ImmutableList<T>.AddRange(IEnumerable<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the elements of the specified collection to the end of the immutable list.
public:
System::Collections::Immutable::ImmutableList<T> ^ AddRange(System::Collections::Generic::IEnumerable<T> ^ items);
public System.Collections.Immutable.ImmutableList<T> AddRange (System.Collections.Generic.IEnumerable<T> items);
member this.AddRange : seq<'T> -> System.Collections.Immutable.ImmutableList<'T>
Public Function AddRange (items As IEnumerable(Of T)) As ImmutableList(Of T)
Parameters
- items
- IEnumerable<T>
The collection whose elements will be added to the end of the list.
Returns
A new immutable list with the elements added.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.