Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / GroupAsync Method / GroupAsync<T>(IDataCollection<T>,Expression<Func<T,Object>>) Method
The data collection.
The group path.

In This Topic
    GroupAsync<T>(IDataCollection<T>,Expression<Func<T,Object>>) Method
    In This Topic
    Groups the data collection according to the specified group path.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GroupAsync(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal groupPath As Expression(Of Func(Of T,Object)) _
    ) As Task
    public static Task GroupAsync<T>( 
       IDataCollection<T> dataCollection,
       Expression<Func<T,object>> groupPath
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    groupPath
    The group path.

    Type Parameters

    T
    See Also