Recipient.Type Property

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

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

Syntax

'Declaration
Property Type As Integer
    Get
    Set
'Usage
Dim instance As Recipient
Dim value As Integer

value = instance.Type

instance.Type = value
int Type { get; set; }

Property Value

Type: System.Int32

Remarks

Depending on the type of recipient, this property returns or sets an Integer (int in C#) value corresponding to the numeric equivalent of one of the following constants:

  • JournalItem recipient: the OlJournalRecipientType constant olAssociatedContact.

  • MailItem recipient: one of the following OlMailRecipientType constants: olBCC, olCC, olOriginator, or olTo.

  • MeetingItem recipient: one of the following OlMeetingRecipientType constants: olOptional, olOrganizer, olRequired, or olResource.

  • TaskItem recipient: either of the following OlTaskRecipientType constants: olFinalStatus, or olUpdate.

See Also

Reference

Recipient Interface

Recipient Members

Microsoft.Office.Interop.Outlook Namespace