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.

Declaration
NSPhoneListPreferences

Methods

GetSearchCompany()

Search preferences for a phone list search.

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()

Search preferences for a phone list search.

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()

Search preferences for a phone list search.

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()

Search preferences for a phone list search.

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()

Search preferences for a phone list search.

Declaration
Integer GetSearchModeCompany()
Returns
Type Description
Integer

See StringSearchType

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

GetSearchModeDepartment()

Search preferences for a phone list search.

Declaration
Integer GetSearchModeDepartment()
Returns
Type Description
Integer

See StringSearchType

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

GetSearchModeFirstname()

Search preferences for a phone list search.

Declaration
Integer GetSearchModeFirstname()
Returns
Type Description
Integer

See StringSearchType

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

GetSearchModeLastname()

Search preferences for a phone list search.

Declaration
Integer GetSearchModeLastname()
Returns
Type Description
Integer

See StringSearchType

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

SetSearchCompany(Bool)

Search preferences for a phone list search.

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)

Search preferences for a phone list search.

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)

Search preferences for a phone list search.

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)

Search preferences for a phone list search.

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)

Search preferences for a phone list search.

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)

Search preferences for a phone list search.

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)

Search preferences for a phone list search.

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)

Search preferences for a phone list search.

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);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top