API Reference
| Classic JavaDoc |
ItemsCollection.sortBy
public ItemsCollection sortBy(ExchangeItemField sortByField)
public ItemsCollection sortBy(ExchangeItemField sortByField, boolean ascendingOrder)
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:
Throws:
ascendingOrder | if true items will be sorted in ascending order. |
ExchangeServiceException | if any errors occur during the communication with Exchange. |
Community comments
Powered by JavaDocPlus