Show / Hide Table of Contents

Class NSPhoneListPreferences

Search preferences for a phone list search.

Syntax

Constructors

NSPhoneListPreferences()

Initializes a new instance of the NSPhoneListPreferences class.

Introduced or updated in version: 7

Declaration
NSPhoneListPreferences

Methods

GetSearchCompany()

Introduced or updated in version: 7

Declaration
Bool GetSearchCompany()
Returns
Type Description
Bool

True if you want to search for Companies by their name.

Examples
NSPhoneListPreferences thing;
Bool searchCompany = thing.GetSearchCompany();

GetSearchDepartment()

Introduced or updated in version: 7

Declaration
Bool GetSearchDepartment()
Returns
Type Description
Bool

True if you want to search for Departments where your colleagues work.

Examples
NSPhoneListPreferences thing;
Bool searchDepartment = thing.GetSearchDepartment();

GetSearchFirstname()

Introduced or updated in version: 7

Declaration
Bool GetSearchFirstname()
Returns
Type Description
Bool

True if you want to search for Persons by their firstname.

Examples
NSPhoneListPreferences thing;
Bool searchFirstname = thing.GetSearchFirstname();

GetSearchLastname()

Introduced or updated in version: 7

Declaration
Bool GetSearchLastname()
Returns
Type Description
Bool

True if you want to search for Persons by their last name.

Examples
NSPhoneListPreferences thing;
Bool searchLastname = thing.GetSearchLastname();

GetSearchModeCompany()

Introduced or updated in version: 7

Declaration
Integer GetSearchModeCompany()
Returns
Type Description
Integer

See StringSearchType

Examples
NSPhoneListPreferences thing;
Integer searchMode = thing.GetSearchModeCompany();

GetSearchModeDepartment()

Introduced or updated in version: 7

Declaration
Integer GetSearchModeDepartment()
Returns
Type Description
Integer

See StringSearchType

Examples
NSPhoneListPreferences thing;
Integer searchMode = thing.GetSearchModeDepartment();

GetSearchModeFirstname()

Introduced or updated in version: 7

Declaration
Integer GetSearchModeFirstname()
Returns
Type Description
Integer

See StringSearchType

Examples
NSPhoneListPreferences thing;
Integer searchMode = thing.GetSearchModeFirstname();

GetSearchModeLastname()

Introduced or updated in version: 7

Declaration
Integer GetSearchModeLastname()
Returns
Type Description
Integer

See StringSearchType

Examples
NSPhoneListPreferences thing;
Integer searchMode = thing.GetSearchModeLastname();

SetSearchCompany(Bool)

Introduced or updated in version: 7

Declaration
Void SetSearchCompany(Bool searchCompany)
Parameters
Type Name Description
Bool searchCompany

True if you want to search for Companies by their name.

Returns
Type Description
Void
Examples
NSPhoneListPreferences thing;
Bool searchCompany;
thing.SetSearchCompany(searchCompany);

SetSearchDepartment(Bool)

Introduced or updated in version: 7

Declaration
Void SetSearchDepartment(Bool searchDepartment)
Parameters
Type Name Description
Bool searchDepartment

True if you want to search for Departments where your colleagues work.

Returns
Type Description
Void
Examples
NSPhoneListPreferences thing;
Bool searchDepartment;
thing.SetSearchDepartment(searchDepartment);

SetSearchFirstname(Bool)

Introduced or updated in version: 7

Declaration
Void SetSearchFirstname(Bool searchFirstname)
Parameters
Type Name Description
Bool searchFirstname

True if you want to search for Persons by their firstname.

Returns
Type Description
Void
Examples
NSPhoneListPreferences thing;
Bool searchFirstname;
thing.SetSearchFirstname(searchFirstname);

SetSearchLastname(Bool)

Introduced or updated in version: 7

Declaration
Void SetSearchLastname(Bool searchLastname)
Parameters
Type Name Description
Bool searchLastname

True if you want to search for Persons by their last name.

Returns
Type Description
Void
Examples
NSPhoneListPreferences thing;
Bool searchLastname;
thing.SetSearchLastname(searchLastname);

SetSearchModeCompany(Integer)

Introduced or updated in version: 7

Declaration
Void SetSearchModeCompany(Integer searchMode)
Parameters
Type Name Description
Integer searchMode

See StringSearchType.

Returns
Type Description
Void
Examples
NSPhoneListPreferences thing;
Integer searchMode;
thing.SetSearchModeCompany(searchMode);

SetSearchModeDepartment(Integer)

Introduced or updated in version: 7

Declaration
Void SetSearchModeDepartment(Integer searchMode)
Parameters
Type Name Description
Integer searchMode

See StringSearchType.

Returns
Type Description
Void
Examples
NSPhoneListPreferences thing;
Integer searchMode;
thing.SetSearchModeDepartment(searchMode);

SetSearchModeFirstname(Integer)

Introduced or updated in version: 7

Declaration
Void SetSearchModeFirstname(Integer searchMode)
Parameters
Type Name Description
Integer searchMode

See StringSearchType.

Returns
Type Description
Void
Examples
NSPhoneListPreferences thing;
Integer searchMode;
thing.SetSearchModeFirstname(searchMode);

SetSearchModeLastname(Integer)

Introduced or updated in version: 7

Declaration
Void SetSearchModeLastname(Integer searchMode)
Parameters
Type Name Description
Integer searchMode

See StringSearchType.

Returns
Type Description
Void
Examples
NSPhoneListPreferences thing;
Integer searchMode;
thing.SetSearchModeLastname(searchMode);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top