Class AddressList (Outlook VBA)

The class AddressList represents an address book that contains a set of AddressEntry objects.

The classes NameSpace, SelectNamesDialog and SenderInAddressListRuleCondition. give access to class AddressList


Dim alt as AddressList
Set alt = Session.GetGlobalAddressList()

For Each

Here is an example of processing the AddressList items in a collection.


Dim alt As AddressList
For Each alt In AddressLists
	
Next alt

Methods

GetContactsFolder - Obtains a Folder object that represents the Contacts folder for the AddressList object.

Properties

AddressEntries returns the AddressEntries collection for the specified object.

AddressListType returns a constant from the OlAddressListType enumeration that represents the type of the AddressList.

Class returns an OlObjectClass constant indicating the object's class.

ID returns a String representing the unique identifier for the object.

Index returns a Long indicating the position of the object within the collection.

IsInitialAddressList returns a Boolean that indicates if the AddressList is the initial AddressList shown in the Select Names dialog.

IsReadOnly returns a Boolean value that indicates that the AddressList object cannot be modified.

Name returns a String value that represents the display name for the object.

PropertyAccessor returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent AddressList object.

ResolutionOrder returns an Integer that represents the order of this AddressList in the custom scroll list in the Addressing dialog box.

Session returns the NameSpace object for the current session.

AddressEntries - Contains a collection of addresses for an AddressList object.

Folder - Represents an Outlook folder.

NameSpace - Represents an abstract root object for any data source.

PropertyAccessor - Provides the ability to create, get, set, and delete properties on objects.