Aspose::Email::Clients::PageInfo Class Reference

Contains information about retrieved page when paging methods are used. More...

Inherits Object.

Inherited by Aspose::Email::Clients::Exchange::AppointmentPageInfo, Aspose::Email::Clients::Exchange::ExchangeFolderPageInfo, Aspose::Email::Clients::Exchange::ExchangeMessagePageInfo, Aspose::Email::Clients::Graph::GraphMessagePageInfo, and Aspose::Email::Clients::Imap::ImapPageInfo.

Public Member Functions

int32_t get_PageOffset () const
 Gets offset of a page More...
 
void set_PageOffset (int32_t value)
 Gets offset of a page More...
 
int32_t get_AbsoluteOffset () const
 Gets additinal offset added to start index of a page More...
 
void set_AbsoluteOffset (int32_t value)
 Gets additinal offset added to start index of a page More...
 
bool get_LastPage () const
 Indicates whether current page is last page in view. More...
 
void set_LastPage (bool value)
 Indicates whether current page is last page in view. More...
 
int32_t get_TotalCount () const
 Gets total count of items in view More...
 
void set_TotalCount (int32_t value)
 Gets total count of items in view More...
 
int32_t get_ItemsPerPage () const
 A number of items in page More...
 
void set_ItemsPerPage (int32_t value)
 A number of items in page More...
 
virtual System::SharedPtr< PageInfoget_NextPage ()
 Information of the next page or null if current page is last More...
 
 PageInfo (int32_t itemsPerPage)
 Initializes a new instance of the PageInfo class More...
 
 PageInfo (int32_t itemsPerPage, int32_t offset)
 Initializes a new instance of the PageInfo class More...
 
 PageInfo (int32_t totalCount, int32_t itemsPerPage, int32_t offset, bool lastPage)
 Initializes a new instance of the PageInfo class More...
 
 PageInfo (int32_t totalCount, int32_t itemsPerPage, int32_t offset, int32_t absoluteOffset, bool lastPage)
 Initializes a new instance of the PageInfo class More...
 

Protected Attributes

System::SharedPtr< PageInfonext
 

Detailed Description

Contains information about retrieved page when paging methods are used.

Constructor & Destructor Documentation

◆ PageInfo() [1/4]

Aspose::Email::Clients::PageInfo::PageInfo ( int32_t  itemsPerPage)

Initializes a new instance of the PageInfo class

Parameters
itemsPerPageA number of items in page

◆ PageInfo() [2/4]

Aspose::Email::Clients::PageInfo::PageInfo ( int32_t  itemsPerPage,
int32_t  offset 
)

Initializes a new instance of the PageInfo class

Parameters
itemsPerPageA number of items in page
offsetoffset in view of a page

◆ PageInfo() [3/4]

Aspose::Email::Clients::PageInfo::PageInfo ( int32_t  totalCount,
int32_t  itemsPerPage,
int32_t  offset,
bool  lastPage 
)

Initializes a new instance of the PageInfo class

Parameters
totalCounttotal count of items in view
itemsPerPageA number of items in page
offsetoffset in view of a page
lastPageIndicates whether current page is last page in view

◆ PageInfo() [4/4]

Aspose::Email::Clients::PageInfo::PageInfo ( int32_t  totalCount,
int32_t  itemsPerPage,
int32_t  offset,
int32_t  absoluteOffset,
bool  lastPage 
)

Initializes a new instance of the PageInfo class

Parameters
totalCounttotal count of items in view
offsetoffset in view of a page

///

Parameters
absoluteOffsetadditinal offset added to start index of a page
lastPageIndicates whether current page is last page in view
itemsPerPageA number of items in page

Member Function Documentation

◆ get_AbsoluteOffset()

int32_t Aspose::Email::Clients::PageInfo::get_AbsoluteOffset ( ) const

Gets additinal offset added to start index of a page

◆ get_ItemsPerPage()

int32_t Aspose::Email::Clients::PageInfo::get_ItemsPerPage ( ) const

A number of items in page

◆ get_LastPage()

bool Aspose::Email::Clients::PageInfo::get_LastPage ( ) const

Indicates whether current page is last page in view.

◆ get_NextPage()

virtual System::SharedPtr<PageInfo> Aspose::Email::Clients::PageInfo::get_NextPage ( )
virtual

◆ get_PageOffset()

int32_t Aspose::Email::Clients::PageInfo::get_PageOffset ( ) const

Gets offset of a page

◆ get_TotalCount()

int32_t Aspose::Email::Clients::PageInfo::get_TotalCount ( ) const

Gets total count of items in view

◆ set_AbsoluteOffset()

void Aspose::Email::Clients::PageInfo::set_AbsoluteOffset ( int32_t  value)

Gets additinal offset added to start index of a page

◆ set_ItemsPerPage()

void Aspose::Email::Clients::PageInfo::set_ItemsPerPage ( int32_t  value)

A number of items in page

◆ set_LastPage()

void Aspose::Email::Clients::PageInfo::set_LastPage ( bool  value)

Indicates whether current page is last page in view.

◆ set_PageOffset()

void Aspose::Email::Clients::PageInfo::set_PageOffset ( int32_t  value)

Gets offset of a page

◆ set_TotalCount()

void Aspose::Email::Clients::PageInfo::set_TotalCount ( int32_t  value)

Gets total count of items in view

Member Data Documentation

◆ next

System::SharedPtr<PageInfo> Aspose::Email::Clients::PageInfo::next
protected