Members Property (AddressEntry Object)

The Members property returns an AddressEntries collection that contains the members of a distribution list. Read-only.

Syntax

objAddressEntry.Members

Data Type

Object (AddressEntries collection)

Remarks

The Members property returns a collection of all the members of the AddressEntry object if it is a distribution list. You can browse the returned AddressEntries collection, and you can add and delete entries if you have change access.

If the AddressEntry object is not a distribution list, the Members property returns Nothing. The address entry is a distribution list if its DisplayType property is set to CdoDistList or CdoPrivateDistList.

Although the Members property itself is read-only, the collection it returns can be accessed in the normal manner through its Add and Delete methods, and the properties on its member AddressEntry objects retain their respective read/write or read-only accessibility.

The Members property does not correspond to a MAPI property and cannot be rendered into HTML hypertext by the CDO Rendering Library. It could be rendered as a container object by setting the ContainerRenderer object's DataSource property to the AddressEntries collection object returned by the Members property.