ActiveReports 12
ConvertAll<TOutput> Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.ActiveReports.PageReportModel Namespace > StyleSheet Class : ConvertAll<TOutput> Method
The type of the elements of the target array.
A Converter delegate that converts each element from one type to another type.
Converts the elements in the current List to another type, and returns a list containing the converted elements.
Syntax
'Declaration
 
Public Function ConvertAll(Of TOutput)( _
   ByVal converter As Converter(Of Style,TOutput) _
) As List(Of TOutput)
public List<TOutput> ConvertAll<TOutput>( 
   Converter<Style,TOutput> converter
)

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.
Exceptions
ExceptionDescription
converter is null.
See Also

Reference

StyleSheet Class
StyleSheet Members