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)
| Parameter | Description |
| cPhoneNumbers | New 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
| System | Minimal version | Remarks |
| Palm OS | Palm OS 5.0 | Only available on smart phone devices. |