Home > Language Reference > Classes > Telephony

PhoneBook Property

Phone book of the SIM card.

Syntax

Public Property Get PhoneBook() As Collection:PhoneBook
Public Property Set PhoneBook(ByRef
cPhoneNumbers As Collection:PhoneBook)

ParameterDescription
cPhoneNumbersNew phone book.

Remarks

The PhoneBook property accesses the phone book located on the SIM card. It is only available on GSM phones.

When read, this property returns a collection of PhoneBook items. This collection is a copy of the actual phone book; adding or removing items to it does not impact the phone book on the SIM card. When written, it replaces the whole phone book on the SIM card by the collection of items you provide in the cPhoneNumbers parameter.

Depending on your SIM card, some limitations may apply on the phone book content. Notably the length of each name and the total number of records can be limited. In such a case, the data you provide are simply truncated to fit the limitation.

The SIMPhoneBook sample illustrates how to handle the phone book.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 5.0Only available on smart phone devices.