Class AddressEntry (Outlook VBA)
The class AddressEntry represents a person, group, or public folder to which the messaging system can deliver messages.
The classes Account, AppointmentItem, MailItem, NameSpace and Recipient. give access to class AddressEntry
Dim aey as AddressEntry
Set aey = Dim strID As String: strID =
Session.GetAddressEntryFromID(ID:=strID)
For Each
Here is an example of processing the AddressEntry items in a collection.
Dim aey As AddressEntry
For Each aey In AddressEntries
Next aey
Methods
Delete - Deletes an object from the collection.
Details - Displays a modeless dialog box that provides detailed information about an AddressEntry object.
GetContact - Returns a ContactItem object that represents the AddressEntry, if the AddressEntry corresponds to a contact in an Outlook Contacts Address Book (CAB).
GetExchangeDistributionList - Returns an ExchangeDistributionList object that represents the AddressEntry if the AddressEntry belongs to an Exchange AddressList object such as the Global Address List (GAL) and corresponds to an Exchange distribution list.
GetExchangeUser - Returns an ExchangeUser object that represents the AddressEntry if the AddressEntry belongs to an Exchange AddressList object such as the Global Address List (GAL) and corresponds to an Exchange user.
GetFreeBusy - Returns a String value that represents the availability of the individual user for a period of 30 days from the start date, beginning at midnight of the date specified.
Update - Posts a change to the AddressEntry object in the messaging system.
Properties
Address returns or sets a String representing the email address of the AddressEntry.
AddressEntryUserType returns a constant from the OlAddressEntryUserType enumeration representing the user type of the AddressEntry.
Class returns an OlObjectClass constant indicating the object's class.
DisplayType returns a constant belonging to the OlDisplayType enumeration that describes the nature of the AddressEntry.
ID returns a String representing the unique identifier for the object.
Name returns or sets 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 AddressEntry object.
Session returns the NameSpace object for the current session.
Type returns or sets a String representing the type of entry for this address such as an Internet Address, MacMail Address, or Microsoft Mail Address.
Related Classes
ContactItem - Represents a contact in a Contacts folder.
ExchangeDistributionList - The ExchangeDistributionList object provides detailed information about an AddressEntry that represents an Exchange distribution list.
ExchangeUser - Provides detailed information about an AddressEntry that represents a Microsoft Exchange mailbox user.
NameSpace - Represents an abstract root object for any data source.
PropertyAccessor - Provides the ability to create, get, set, and delete properties on objects.