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

Definición

Convierte los elementos de la lista inmutable actual en otro tipo 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 a otro.

Devoluciones

ImmutableList<TOutput>

Lista del tipo de destino que contiene los elementos convertidos del objeto actual ImmutableList<T>.

Se aplica a