System::Collections::Generic::List::ConvertAll method

List::ConvertAll method

Creates a list of elements converted to different type.

template<typename OutputType> SharedPtr<List<OutputType>> System::Collections::Generic::List<T>::ConvertAll(Converter<T, OutputType> converter)
ParameterDescription
OutputTypeOutput list element type.
ParameterTypeDescription
converterConverter<T, OutputType>Converter to use for items conversion.

ReturnValue

A newly created list of converted elements.

See Also