ImmutableList<T>.ConvertAll<TOutput> Método

Definición

Convierte en otro tipo los elementos incluidos en la lista inmutable actual y devuelve una lista que contiene los elementos convertidos.

public:
generic <typename TOutput>
 virtual System::Collections::Immutable::ImmutableList<TOutput> ^ ConvertAll(Func<T, TOutput> ^ converter);
public:
generic <typename TOutput>
 System::Collections::Immutable::ImmutableList<TOutput> ^ ConvertAll(Func<T, TOutput> ^ converter);
public System.Collections.Immutable.ImmutableList<TOutput> ConvertAll<TOutput> (Func<T,TOutput> converter);
abstract member ConvertAll : Func<'T, 'Output> -> System.Collections.Immutable.ImmutableList<'Output>
override this.ConvertAll : Func<'T, 'Output> -> System.Collections.Immutable.ImmutableList<'Output>
member this.ConvertAll : Func<'T, 'Output> -> System.Collections.Immutable.ImmutableList<'Output>
Public Function ConvertAll(Of TOutput) (converter As Func(Of T, TOutput)) As ImmutableList(Of TOutput)

Parámetros de tipo

TOutput

Tipo de los elementos de la matriz de destino.

Parámetros

converter
Func<T,TOutput>

Delegado que convierte cada elemento de un tipo en otro tipo.

Devoluciones

ImmutableList<TOutput>

Una lista del tipo de destino que contiene los elementos convertidos del elemento ImmutableList<T> actual.

Se aplica a