PageInfo

PageInfo(int)

初始化PageInfo class

public PageInfo(int itemsPerPage)
范围类型描述
itemsPerPageInt32页面中的项目数

也可以看看


PageInfo(int, int)

初始化PageInfo class

public PageInfo(int itemsPerPage, int offset)
范围类型描述
itemsPerPageInt32页面中的项目数
offsetInt32页面视图中的偏移量

也可以看看


PageInfo(int, int, int, bool)

初始化PageInfo class

public PageInfo(int totalCount, int itemsPerPage, int offset, bool lastPage)
范围类型描述
totalCountInt32视图中的项目总数
itemsPerPageInt32页面中的项目数
offsetInt32页面视图中的偏移量
lastPageBoolean指示当前页面是否是视图中的最后一页

也可以看看


PageInfo(int, int, int, int, bool)

初始化PageInfo class

public PageInfo(int totalCount, int itemsPerPage, int offset, int absoluteOffset, bool lastPage)
范围类型描述
totalCountInt32视图中的项目总数
offsetInt32页面视图中的偏移量
absoluteOffsetInt32添加到页面起始索引的附加偏移量
lastPageInt32指示当前页面是否是视图中的最后一页
itemsPerPageBoolean页面中的项目数

也可以看看