ImmutableList.CreateRange<T>(IEnumerable<T>) Metodo
Definizione
Crea un nuovo elenco non modificabile che contiene gli elementi specificati.Creates a new immutable list that contains the specified items.
public:
generic <typename T>
static System::Collections::Immutable::ImmutableList<T> ^ CreateRange(System::Collections::Generic::IEnumerable<T> ^ items);
public static System.Collections.Immutable.ImmutableList<T> CreateRange<T> (System.Collections.Generic.IEnumerable<T> items);
static member CreateRange : seq<'T> -> System.Collections.Immutable.ImmutableList<'T>
Public Function CreateRange(Of T) (items As IEnumerable(Of T)) As ImmutableList(Of T)
Parametri di tipo
- T
Tipo di elementi nell'elenco.The type of items in the .
Parametri
- items
- IEnumerable<T>
Elementi da aggiungere all'elenco.The items to add to the list.
Restituisce
Elenco non modificabile che contiene gli elementi specificati.An immutable list that contains the specified items.