Export (0) Print
Expand All

ImmutableList<T>.ConvertAll<TOutput> Method

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

Namespace:  System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public ImmutableList<TOutput> ConvertAll<TOutput>(
	Func<T, TOutput> converter
)

Type Parameters

TOutput

The type of the elements of the target array.

Parameters

converter
Type: System.Func<T, TOutput>

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

Show:
© 2014 Microsoft