[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.ReadOnlyStructList-1.ConvertAll

ConvertAll Method

ConvertAll<TOutput>(StructConverter<T, TOutput>)

Converts the elements in the current ReadOnlyStructList<T> to another type, and returns a list containing the converted elements.

Declaration
public StructList<TOutput> ConvertAll<TOutput>(StructConverter<T, TOutput> converter) where TOutput : struct
Public Function ConvertAll(Of TOutput As Structure)(converter As StructConverter(Of T, TOutput)) As StructList(Of TOutput)
Parameters
Type Name Description
StructConverter<T, TOutput> converter

A StructConverter<TInput, TOutput> delegate that converts each element from one type to another type.

Returns
Type Description
StructList<TOutput>

A StructList<T> of the target type containing the converted elements from the current ReadOnlyStructList<T>.

Type Parameters
Name Description
TOutput

The type of the elements of the target array.