MailAddressCollection.AddRange Method
Namespace: Rebex.Mime.Headers
Assembly: Rebex.Mail.dll (version 7.0.9083)
AddRange(ICollection)
Adds a range of items contained in the specified collection. The type of items being added has to correspond to the type of collection being updated. Inherited from HeaderValueCollection.
Declaration
public virtual void AddRange(ICollection collection)
Parameters
Type | Name | Description |
---|---|---|
ICollection | collection | Collection of items to be added. |
Remarks
For MailAddressCollection only MailAddress items can be added. For MessageIdCollection only MessageId items can be added. And so on.
The implicit conversion from String is not applied.