Edit

Share via


EmailAddressCollection.AddRange Method

Definition

Overloads

AddRange(IEnumerable<EmailAddress>)

Adds one or more e-mail addresses to the collection.

AddRange(IEnumerable<String>)

Adds one or more e-mail addresses that are identified by SMTP address to the collection.

AddRange(IEnumerable<EmailAddress>)

Adds one or more e-mail addresses to the collection.

public:
 void AddRange(System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::EmailAddress ^> ^ emailAddresses);
public void AddRange (System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.EmailAddress> emailAddresses);
Public Sub AddRange (emailAddresses As IEnumerable(Of EmailAddress))

Parameters

emailAddresses
IEnumerable<EmailAddress>

The e-mail addresses to add.

Applies to

AddRange(IEnumerable<String>)

Adds one or more e-mail addresses that are identified by SMTP address to the collection.

public:
 void AddRange(System::Collections::Generic::IEnumerable<System::String ^> ^ smtpAddresses);
public void AddRange (System.Collections.Generic.IEnumerable<string> smtpAddresses);
Public Sub AddRange (smtpAddresses As IEnumerable(Of String))

Parameters

smtpAddresses
IEnumerable<String>

The SMTP addresses that are used to initialize the e-mail addresses.

Applies to