Click or drag to resize
ListTConvertAllTOutput Method

Namespace: System.Collections.Generic
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public List<TOutput> ConvertAll<TOutput>(
	Converter<T, TOutput> converter
)

Parameters

converter
Type: SystemConverterT, TOutput
A ConverterTInput, TOutput delegate that converts each element from one type to another type.

Type Parameters

TOutput
The type of the elements of the target array.

Return Value

Type: ListTOutput
A ListT of the target type containing the converted elements from the current ListT.
Exceptions
ExceptionCondition
ArgumentNullExceptionconverter is null.
See Also