Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


ImmutableList<T>.ConvertAll<TOutput> Method

Definition

Converts the elements in the current immutable list to another type, and returns a list containing the converted elements.

C#
public System.Collections.Immutable.ImmutableList<TOutput> ConvertAll<TOutput>(Func<T,TOutput> converter);

Type Parameters

TOutput

The type of the elements of the target array.

Parameters

converter
Func<T,TOutput>

A delegate that converts each element from one type to another type.

Returns

ImmutableList<TOutput>

A list of the target type containing the converted elements from the current ImmutableList<T>.

Applies to

Termék Verziók
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)
UWP 10.0