SortColumn
#include <bb/pim/contacts/SortColumn>
The SortColumn class represents the columns that can be used to sort contacts.
You can use the SortColumn::Type enumeration to specify the columns that should be used to sort contacts. For example, you can use a SortColumn::Type enumeration value in ContactListFilters::setSortBy() to sort contacts by first name, last name, or company name.
BlackBerry 10.0.0
Public Types Index
enum TypeFirstName = 0, LastName = 1, CompanyName = 2 |
Public Types
An enumeration of possible columns that can be used to sort contacts.
BlackBerry 10.0.0
- FirstName = 0
Indicates that contacts should be sorted by FirstName.
This is the default value.
Since:BlackBerry 10.0.0
- LastName = 1
Indicates that contacts should be sorted by LastName.
Since:BlackBerry 10.0.0
- CompanyName = 2
Indicates that contacts should be sorted by CompanyName.
Since:BlackBerry 10.0.0