EmailAddressCollection.AddRange Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.