ImmutableList<T>.ConvertAll<TOutput> Methode

Definitie

Converteert de elementen in de huidige onveranderbare lijst naar een ander type en retourneert een lijst met de geconverteerde elementen.

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)

Type parameters

TOutput

Het type van de elementen van de doelmatrix.

Parameters

converter
Func<T,TOutput>

Een gemachtigde die elk element van het ene type naar een ander type converteert.

Retouren

ImmutableList<TOutput>

Een lijst met het doeltype met de geconverteerde elementen van de huidige ImmutableList<T>.

Van toepassing op