Düzenle

Aracılığıyla paylaş


Recipient Interface

Definition

Represents a user or resource in Outlook, generally a mail message addressee.

public interface class Recipient
[System.Runtime.InteropServices.Guid("00063045-0000-0000-C000-000000000046")]
public interface Recipient
Public Interface Recipient
Attributes

Remarks

Use Item[Object](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.

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, MeetingItem or TaskItem object and must be reset to indicate another recipient type.

Properties

Address

Returns a String (string in C#) representing the e-mail address of the Recipient. Read-only.

AddressEntry

Returns the AddressEntry object corresponding to the resolved recipient. Read/write.

Application

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

AutoResponse

Returns or sets a String (string in C#) representing the text of an automatic response for a Recipient. Read/write.

Class

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

DisplayType

Returns a constant belonging to the OlDisplayType enumeration that describes the nature of the Recipient. Read-only.

EntryID

Returns a String (string in C#) representing the unique Entry ID of the object. Read-only.

Index

Returns an Integer (int in C#) value indicating the position of the object within the collection. Read-only.

MeetingResponseStatus

Returns an OlResponseStatus constant indicating the overall status of the response to the meeting request for the recipient. Read-only.

Name

Returns a String (string in C#) that represents the display name for the object. Read-only.

Parent

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

PropertyAccessor

Returns a PropertyAccessor object that supports creating, getting, setting, and deleting properties of the parent Recipient object. Read-only.

Resolved

Returns a Boolean (bool in C#) that indicates True if the recipient has been validated against the Address Book. Read-only.

Sendable

Returns or sets a Boolean (bool for C#) value that indicates whether a meeting request can be sent to the Recipient. Read/write.

Session

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

TrackingStatus

Returns or sets an OlTrackingStatus constant indicating the tracking status for the recipient. Read/write.

TrackingStatusTime

Returns or sets a DateTime indicating the tracking status date and time for the recipient. Read/write.

Type

Returns or sets an Integer (int in C#) value representing the type of recipient. Read/write.

Methods

Delete()

Deletes an object from the collection.

FreeBusy(DateTime, Int32, Object)

Returns free/busy information for the recipient.

Resolve()

Attempts to resolve a Recipient object against the Address Book.

Applies to