Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

MsgAddressCollection Class

Namespace: Rebex.Mail
Assembly: Rebex.Msg.dll (version 7.0.9119)

Represents a collection of Outlook .MSG e-mail addresses.

Syntax
public class MsgAddressCollection : ICollection<MsgAddress>, IEnumerable<MsgAddress>, IEnumerable
Inheritance
Object
MsgAddressCollection
Implements
ICollection<MsgAddress>
IEnumerable<MsgAddress>
IEnumerable
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)

Properties

Name Description
Count

Gets the number of elements.

Item[Int32]

Gets the e-mail address on specified index.

Methods

Name Description
Add(MsgAddress)

Adds an e-mail address to the collection.

Add(MsgAddressType, String, String)

Adds an e-mail address to the collection.

Add(String, String)

Adds an SMTP address to the collection.

Clear()

Clears the collection.

Contains(MsgAddress)

Gets a value indicating whether the specified address is in the collection.

CopyTo(MsgAddress[], Int32)

Copies the entire collection to an array, starting at the specified index of the target array.

GetEnumerator()

Gets an IEnumerator<T> to iterate through the collection.

Remove(MsgAddress)

Removes specified address from the collection.

RemoveAt(Int32)

Removes an address at specified index.

ToString()

Returns a string representation of the current MsgAddressCollection.

Explicit Interface Implementations

Name Description
ICollection<MsgAddress>.IsReadOnly

Returns false.

IEnumerable.GetEnumerator()

Gets an IEnumerator to iterate through the collection.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies