Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft