PageInfo

PageInfo class

Contains information about retrieved page when paging methods are used.

The PageInfo type exposes the following members:

Constructors

NameDescription
PageInfo(items_per_page)Initializes a new instance of the PageInfo class
PageInfo(items_per_page, offset)Initializes a new instance of the PageInfo class
PageInfo(total_count, items_per_page, offset, last_page)Initializes a new instance of the PageInfo class
PageInfo(total_count, items_per_page, offset, absolute_offset, last_page)Initializes a new instance of the PageInfo class

Properties

NameDescription
page_offsetGets offset of a page
absolute_offsetGets additinal offset added to start index of a page
last_pageIndicates whether current page is last page in view.
total_countGets total count of items in view
items_per_pageA number of items in page
next_pageInformation of the next page or null if current page is last

See Also