Rediger

Del via


Recipients Interface

Definition

Contains a collection of Recipient objects for an Outlook item.

public interface class Recipients : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0006303B-0000-0000-C000-000000000046")]
public interface Recipients : System.Collections.IEnumerable
Public Interface Recipients
Implements IEnumerable
Attributes
Implements

Remarks

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

Use the Add(String) 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.

Properties

Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

Count

Returns an Integer (int in C#) value indicating the count of objects in the specified collection. Read-only.

Item[Object]

Returns a Recipient object from the collection.

Parent

Returns the parent Object of the specified object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.

Methods

Add(String)

Creates a new recipient in the Recipients collection.

Remove(Int32)

Removes an object from the collection.

ResolveAll()

Attempts to resolve all the Recipient objects in the Recipients collection against the Address Book.

Applies to