Recipients Collection Object
Recipients Collection Object
The Recipients collection object contains one or more Recipient objects and specifies the recipients of a message.
At a Glance
Specified in type library: |
CDO.DLL |
First available in: |
CDO Library version 1.0.a |
Parent objects: |
|
Child objects: |
|
Default property: |
A Recipients collection is considered a small collection, which means that it supports count and index values that let you access an individual Recipient object through the Item property. The Recipients collection supports the Microsoft® Visual Basic® For Each statement. For more information on collections, see Object Collections.
Properties
Name |
Available since version |
Type |
Access |
1.0.a |
String |
Read-only |
|
1.0.a |
Long |
Read-only |
|
1.0.a |
Long |
Read-only |
|
1.0.a |
Recipient object |
Read-only |
|
1.1 |
IUnknown object |
Read/write (Note: Not available to Visual Basic applications) |
|
1.0.a |
Message object |
Read-only |
|
1.0.a |
Boolean |
Read-only |
|
1.0.a |
Session object |
Read-only |
Methods
Name |
Available since version |
Parameters |
1.0.a |
(optional) name as String, (optional) address as String, (optional) type as Long, (optional) entryID as String |
|
1.1 |
names as String, (optional) type as Long |
|
1.0.a |
(none) |
|
1.1 |
(none) |
|
1.2 |
StartTime as Variant, EndTime as Variant, Interval as Long |
|
1.1 |
(none) |
|
1.0.a |
(optional) showDialog as Boolean |
Remarks
A Recipients collection can be rendered into HTML hypertext in tabular form using the CDO Rendering ContainerRenderer object. To specify this, set the container renderer's DataSource property to the Recipients collection object itself.
With the same DataSource setting, the container renderer's RenderProperty method can also render selected properties of the collection's parent Message object. The individual properties that can be rendered are indicated in the Message object property descriptions.