Click or drag to resize

MailMergeAddressCollection Class

Container for mail merge addresses of a mail merge message.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionMailMergeAddress
    MailMergeLibMailMergeAddressCollection

Namespace:  MailMergeLib
Assembly:  MailMergeLib (in MailMergeLib.dll) Version: 5.6.1.0
Syntax
public class MailMergeAddressCollection : Collection<MailMergeAddress>

The MailMergeAddressCollection type exposes the following members.

Constructors
  NameDescription
Protected methodMailMergeAddressCollection
Property MailMergeMessage must be set after creating the instance!
Protected methodMailMergeAddressCollection(MailMergeMessage)
Constructor.
Top
Properties
  NameDescription
Public propertyCount (Inherited from CollectionMailMergeAddress.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionMailMergeAddress.)
Protected propertyItems (Inherited from CollectionMailMergeAddress.)
Protected propertyMailMergeMessage
The MailMergeMessage the MailMergeAddressCollection belongs to
Top
Methods
  NameDescription
Public methodAdd
Adds the address to the address collection. For MailAddressType.Sender, MailAddressType.ConfirmReadingTo and MailAddressType.ReturnReceiptTo only the last-in address of this type will be included in the mail message. DisplayNameCharacterEncoding will be overridden by MailMergeMessage.Config.CharacterEncoding.
Protected methodAddWithCurrentCharacterEncoding
Adds the address to the address collection. For MailAddressType.Sender, MailAddressType.ConfirmReadingTo and MailAddressType.ReturnReceiptTo only the last-in address of this type will be included in the mail message. DisplayNameCharacterEncoding of the address will not be changed.
Public methodClear (Inherited from CollectionMailMergeAddress.)
Protected methodClearItems (Inherited from CollectionMailMergeAddress.)
Public methodContains (Inherited from CollectionMailMergeAddress.)
Public methodCopyTo (Inherited from CollectionMailMergeAddress.)
Public methodEquals(Object)
Determines whether the specified MailMergeAddressCollection instances are equal, i.e. containing the same MailMergeAddresses never mind the sequence.
(Overrides ObjectEquals(Object).)
Protected methodEquals(MailMergeAddressCollection)
Determines whether the specified MailMergeAddressCollection instances are equal, i.e. containing the same MailMergeAddresses never mind the sequence.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet
Gets all MailMergeAddresses of the specified address type.
Public methodGetEnumerator (Inherited from CollectionMailMergeAddress.)
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionMailMergeAddress.)
Public methodInsert (Inherited from CollectionMailMergeAddress.)
Protected methodInsertItem (Inherited from CollectionMailMergeAddress.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove (Inherited from CollectionMailMergeAddress.)
Public methodRemoveAt (Inherited from CollectionMailMergeAddress.)
Protected methodRemoveItem (Inherited from CollectionMailMergeAddress.)
Protected methodSetItem
Replaces the element at the specified index.
(Inherited from CollectionMailMergeAddress.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToString(MailAddressType, Object)
Gets the string representation of the collection of mailbox addresses.
Top
See Also