IndexBasePointType enumeration

The IndexBasePointType enumeration specifies whether the page of items will start at the beginning or the end of the set of items that are found by using the search criteria.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

public enum IndexBasePointType

Member nameDescription
BeginningSpecifies that the paged view starts at the beginning of the found item set.
EndSpecifies that the paged view starts at the end of the found item set. Seeking from the end always searches backward.

This enumeration is used by the BasePoint property of the IndexedPageViewType object.

When you are using the End value, be aware that seeking from the end involves moving to the origin that is identified by the offset. Additionally, the pointer is moved back by the number of requested records. For example, if there are 100 records and the offset is 25 from the end, the search starts from 75. If 10 records are returned, the pointer is moved backward an additional 10 records to 66 and returns records 66 through 75. The next index is 65. The next offset from the end for a page is 100 minus 65, which equals 35. 35 is the value for the next offset from the end to get the next indexed page.