Partager via


_DistListItem.AddMember Method

Adds a new member to the specified distribution list. The distribution list contains Recipient objects that represent valid e-mail addresses.

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

Syntax

'Declaration
<DispIdAttribute()> _
Sub AddMember ( _
    Recipient As Recipient _
)
'Usage
Dim instance As _DistListItem
Dim Recipient As Recipient

instance.AddMember(Recipient)
[DispIdAttribute()]
void AddMember(
    Recipient Recipient
)

Parameters

Remarks

Use the AddMembers method to add multiple members to a given distribution list.

See Also

Reference

_DistListItem Interface

_DistListItem Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Create a Distribution List