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

List::ConvertAll method

Crée une liste d’éléments convertis en un type différent.

template<typename OutputType> SharedPtr<List<OutputType>> System::Collections::Generic::List<T>::ConvertAll(Converter<T, OutputType> converter)
ParamètreDescription
OutputTypeType d’élément de la liste de sortie.
ParamètreTypeDescription
converterConverter<T, OutputType>Converter à utiliser pour la conversion des éléments.

ReturnValue

Une liste nouvellement créée d’éléments convertis.

Voir aussi