ImmutableList.CreateRange<T>(IEnumerable<T>) Método

Definição

Cria uma nova lista imutável que contém os itens especificados.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)

Parâmetros de tipo

T

O tipo de itens no.The type of items in the .

Parâmetros

items
IEnumerable<T>

Os itens a serem adicionados à lista.The items to add to the list.

Retornos

ImmutableList<T>

Uma lista imutável que contém os itens especificados.An immutable list that contains the specified items.

Aplica-se a