Export (0) Print
Expand All

_NameSpace.CreateRecipient method

Creates a Recipient object.

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

[DispIdAttribute()]
Recipient CreateRecipient(
	string RecipientName
)

Parameters

RecipientName
Type: System.String

The name of the recipient; it can be a string representing the display name, the alias, or the full SMTP e-mail address of the recipient.

Return value

Type: Microsoft.Office.Interop.Outlook.Recipient
A Recipient object that represents the new recipient.

This method is most commonly used to create a Recipient object for use with the GetSharedDefaultFolder method, for example, to open a delegator's folder. It can also be used to verify a given name against an address book.

Show:
© 2014 Microsoft