Moyosoft Products | Services | Download | Contact us    
Java Bridge to Exchange
Products  >  Java Bridge to Exchange  >  API Reference    
API Reference
   
Overview  |  
Classic JavaDoc

ItemsCollection.sortBy

public ItemsCollection sortBy(ExchangeItemField sortByField)

Creates a new collection with items sorted by the specified field in ascending order.

Throws:
ExchangeServiceException   if any errors occur during the communication with Exchange.

public ItemsCollection sortBy(ExchangeItemField sortByField, boolean ascendingOrder)

Creates a new collection with items sorted by the specified field in either ascending or descending order.

Parameters:
ascendingOrder   if true items will be sorted in ascending order.

Throws:
ExchangeServiceException   if any errors occur during the communication with Exchange.

Community comments



Powered by JavaDocPlus