Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / C1DataCollectionEx Class / GroupAsync<T> Method
The data collection.
The group path.

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

    Parameters

    dataCollection
    The data collection.
    groupPath
    The group path.

    Type Parameters

    T
    See Also