次の方法で共有


_NameSpace.CreateRecipient Method

Creates a Recipient object.

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

Syntax

'Declaration
<DispIdAttribute()> _
Function CreateRecipient ( _
    RecipientName As String _
) As Recipient
'Usage
Dim instance As _NameSpace
Dim RecipientName As String
Dim returnValue As Recipient

returnValue = instance.CreateRecipient(RecipientName)
[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.

Remarks

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.

See Also

Reference

_NameSpace Interface

_NameSpace Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Display a Shared Calendar of a Recipient

How to: Create a Distribution List