SortColumn

Since: BlackBerry 10.0.0

#include <bb/pim/contacts/ContactConsts>

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.


Overview

Public Types Index

enum Type

FirstName = 0, LastName = 1, CompanyName = 2

Public Types

Type

An enumeration of possible columns that can be used to sort contacts.

Since:

BlackBerry 10.0.0

FirstName = 0

Indicates that contacts should be sorted by FirstName.

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

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus