Converts the elements in the current
List to another type, and returns a list containing the converted elements.
'Declaration
Public Function ConvertAll(Of )( _
ByVal As Converter(Of Style,TOutput) _
) As List(Of TOutput)
public List<TOutput> ConvertAll<>(
Converter<Style,TOutput>
)
Parameters
- converter
- A Converter 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
A
List of the target type containing the converted elements from the current
List.