Blazor | ComponentOne
C1.DataCollection Assembly / C1.DataCollection Namespace / IDataCollectionEx Class / SetPageSize<T> Method
The data collection.
The size of the page.

In This Topic
    SetPageSize<T> Method
    In This Topic
    Sets the maximum number of items per page.
    Syntax
    'Declaration
     
    
    Public Shared Sub SetPageSize(Of T As Class)( _
       ByVal dataCollection As IDataCollection(Of T), _
       ByVal pageSize As Integer _
    ) 
    public static void SetPageSize<T>( 
       IDataCollection<T> dataCollection,
       int pageSize
    )
    where T: class

    Parameters

    dataCollection
    The data collection.
    pageSize
    The size of the page.

    Type Parameters

    T
    See Also