Table of Contents

Class RecipientCollection

Namespace
Dynamicweb.Mailing
Assembly
Dynamicweb.Mailing.dll
Represents collection of recipients
public class RecipientCollection : Collection<Recipient>, IList<Recipient>, ICollection<Recipient>, IReadOnlyList<Recipient>, IReadOnlyCollection<Recipient>, IEnumerable<Recipient>, IList, ICollection, IEnumerable
Inheritance
RecipientCollection
Implements
Inherited Members
Extension Methods

Constructors

RecipientCollection()

Default constructor
public RecipientCollection()

RecipientCollection(IList<Recipient>)

Creates new object with defined list of recipients
public RecipientCollection(IList<Recipient> src)

Parameters

src IList<Recipient>

Properties

RequireUniqueRecipients

Gets or sets if it needs Recipients to be required
public bool RequireUniqueRecipients { get; set; }

Property Value

bool
True or false

Methods

ClearItems()

protected override void ClearItems()

InsertItem(int, Recipient)

protected override void InsertItem(int index, Recipient item)

Parameters

index int
item Recipient

RemoveItem(int)

protected override void RemoveItem(int index)

Parameters

index int

SetItem(int, Recipient)

protected override void SetItem(int index, Recipient item)

Parameters

index int
item Recipient
To top