ImmutableList<T>::ConvertAll<TOutput> Method (Func<T, TOutput>^)

 

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:
generic<typename TOutput>
virtual ImmutableList<TOutput>^ ConvertAll(
	Func<T, TOutput>^ converter
) sealed

Parameters

converter
Type: System::Func<T, TOutput>^

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

Return Value

Type: System.Collections.Immutable::ImmutableList<TOutput>^

Type Parameters

TOutput

The type of the elements of the target array.

Return to top
Show: