3.72 PhoneNumbers

A collection of all phone numbers defined for an address book entry. --For GroupWise 2012 and later.

3.72.1 Properties

The following table lists properties along with their access and descriptions.

Property

Access

Description

Application

R/O

Session. Returns the session containing this object.

Count

R/O

Returns the number of phone numbers.

Parent

R/O

AddressBookEntry. Returns the owning address book entry.

3.72.2 Methods

Item (long lIndex, PhoneNumber retval);

Returns the phone number at the given index (0 based).

ItemByType (PhoneNumberConstants PhoneNumberType, PhoneNumber **retval)

Returns the phone number of the given type if there. Otherwise returns an error.

Add( string NewPhoneNumber, PhoneNumberConstants NewPhoneNumberType, DIGWPhoneNumber **retval )

Adds a new phone number to the collection. This only is allowed if the contact is in the personal address book.