Recipients.Add Method
Creates a new recipient in the Recipients collection.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Function Add ( _
Name As String _
) As Recipient
'Usage
Dim instance As Recipients
Dim Name As String
Dim returnValue As Recipient
returnValue = instance.Add(Name)
[DispIdAttribute()]
Recipient Add(
string Name
)
Parameters
Name
Type: System.StringThe 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.
See Also
Reference
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: 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