AddressLists Property (Session Object)
Topic Last Modified: 2004-06-09
Set objAddrListsColl = objSession. AddressLists
Set objOneAddrList = objSession.AddressLists(index)
Set objOneAddrList = objSession.AddressLists(name)
Object. An AddressLists collection object.
Object. The Session object.
Object. A single AddressList object.
Long. Specifies the number of the address list within the AddressLists collection. Ranges from 1 to the value specified by the AddressLists collections Count property.
String. The value of the Name property of the AddressList object to be selected.
Object (AddressList or AddressLists collection)
The AddressLists collection represents the root of the MAPI address book hierarchy for the current session. A particular AddressList object represents one of the available address books. The type of access you obtain depends on the access granted to you by each individual address book provider.
Although the AddressLists property itself is read-only, the collection it returns can be accessed in the normal manner, and the properties on its member AddressList objects retain their respective read/write or read-only accessibility.