_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
Recipient
Type: Microsoft.Office.Interop.Outlook.RecipientThe recipient to be added to the list.
Remarks
Use the AddMembers method to add multiple members to a given distribution list.
See Also
Reference
Microsoft.Office.Interop.Outlook Namespace