|
RDOAddressEntries object collection |
RDOAddressEntries collection represents the
members of either an AddressList or a
distribution list.
Returned by:
AddressList.AddressEntries,
AddressEntry.Members
The example below connects to the
MAPI session used by Outlook, retrieves an address container named "Contacts"
and displays the number of address entries in it.
set Session =
CreateObject("Redemption.RDOSession")
Session.MAPIOBJECT = Application.Session.MAPIOBJECT
set Contacts = Session.AddressBook.AddressLists.Item("Contacts")
MsgBox Contacts.AddressEntries.Count |
|
Derived from:
IDispatch
|
|
Properties |
|
Count |
integer. Returns the number
of address entries in the collection |
|
_Item(Index) |
Index - variant:
integer or a string. A default object property.
Retrieves an address entry with a
given index (1 to Count) or with a given name
Returns
AddressEntry object |
|
RawTable |
IUnknown, read-only. Returns the IMAPITable Extended MAPI interface used
internally by the RDOAddressEntries collection |
|
Session |
RDOSession, read-only. Returns the parent
MAPI session represented by the RDOSession object |
|
MAPITable |
MAPITable, read-only. Returns the
MAPITable Redemption object which can be used to manipulate the
collection (restrict, find, etc). |
|
|
Methods |
|
Item(Index) |
Index - variant:
integer or a string.
Retrieves an address entry with a
given index (1 to Count) or with a given name
Returns
AddressEntry object |
|
GetFirst |
Returns the first address
entry in the collection. Returns Nothing if no first address entry exists, for example, if there are no
address entries. |
|
GetLast |
Returns the last address
entry in the collection. Returns Nothing if no last address entry exists, for example, if there are no
address entries. |
|
GetNext |
Returns the next address
entry in the collection. It returns Nothing if no next
address entry exists, for example, if already positioned at the end of the
collection. |
|
GetPrevious |
Returns the previous address
entry in the collection. It returns Nothing if no
previous address entry exists, for example, if already positioned at the
beginning of the collection. |
|
|