Condividi tramite


Recipients Interface

Contains a collection of Recipient objects for an Outlook item.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DefaultMemberAttribute("Item")> _
<GuidAttribute("0006303B-0000-0000-C000-000000000046")> _
<TypeLibTypeAttribute()> _
Public Interface Recipients _
    Inherits IEnumerable
'Usage
Dim instance As Recipients
[DefaultMemberAttribute("Item")]
[GuidAttribute("0006303B-0000-0000-C000-000000000046")]
[TypeLibTypeAttribute()]
public interface Recipients : IEnumerable

Remarks

Use the Recipients property to return the Recipients object of an AppointmentItem, JournalItem, MailItem, MeetingItem, or TaskItem object.

Use the Add method to create a new Recipient object and add it to the Recipients object. The Type property of a new Recipient object is set to the default for the associated AppointmentItem, JournalItem, MailItem, or TaskItem object and must be reset to indicate another recipient type.

Use Recipients(index), where index is the name or index number, to return a single Recipient object. The name can be a string representing the display name, the alias, or the full SMTP e-mail address of the recipient.

See Also

Reference

Recipients Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Specify Different Recipient Types for an Appointment Item

How to: Display a Shared Calendar of a Recipient

How to: Create a Mail Item, Attach a Report, and Send the Mail Item to the User's Manager

How to: Specify Different Recipient Types for a Mail Item

How to: Create a Meeting Request, Add Recipients, and Specify a Location

How to: Check All Responses to a Meeting Request

How to: Display the Select Names Dialog Box to Resolve Recipients

How to: Use the Select Names Dialog Box to Obtain and Assign Recipients to an Appointment

How to: Get the E-Mail Address of a Recipient

How to: Assign a Task to a Recipient