ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Viewer.Common Assembly / GrapeCity.Viewer.Common.Implementation Namespace / ItemCollectionExtensions Class / Map Method / Map<TI,TR>(IItemCollection<TI>,Func<TI,TR>) Method
The type of the item in source collection.
The type of the item in target collection.
The source collection.
The converter function.

In This Topic
    Map<TI,TR>(IItemCollection<TI>,Func<TI,TR>) Method
    In This Topic
    Create new IItemCollection using items specified IItemColection and converter function.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Map
        (Of TI,TR)( _
       ByVal source As IItemCollection(Of TI), _
       ByVal f As Func(Of TI,TR) _
    ) As IItemCollection(Of TR)
    public static IItemCollection<TR> Map<TI,TR>( 
       IItemCollection<TI> source,
       Func<TI,TR> f
    )

    Parameters

    source
    The source collection.
    f
    The converter function.

    Type Parameters

    TI
    The type of the item in source collection.
    TR
    The type of the item in target collection.
    See Also