EmailAddressCollection EmailAddressCollection EmailAddressCollection Class

Definition

Represents a collection of e-mail addresses.

public ref class EmailAddressCollection sealed : Microsoft::Exchange::WebServices::Data::ComplexPropertyCollection<Microsoft::Exchange::WebServices::Data::EmailAddress ^>
public sealed class EmailAddressCollection : Microsoft.Exchange.WebServices.Data.ComplexPropertyCollection<Microsoft.Exchange.WebServices.Data.EmailAddress>
Public NotInheritable Class EmailAddressCollection
Inherits ComplexPropertyCollection(Of EmailAddress)
Inheritance

Methods

Add(EmailAddress) Add(EmailAddress) Add(EmailAddress)

Adds an e-mail address to the collection.

Add(String) Add(String) Add(String)

Adds an e-mail address to the collection.

Add(String, String) Add(String, String) Add(String, String)

Adds an e-mail address to the collection.

AddRange(IEnumerable<EmailAddress>) AddRange(IEnumerable<EmailAddress>) AddRange(IEnumerable<EmailAddress>)

Adds one or more e-mail addresses to the collection.

AddRange(IEnumerable<String>) AddRange(IEnumerable<String>) AddRange(IEnumerable<String>)

Adds one or more e-mail addresses that are identified by SMTP address to the collection.

Clear() Clear() Clear()

Removes all e-mail addresses from the collection.

Contains(TComplexProperty) Contains(TComplexProperty) Contains(TComplexProperty)

Determines whether a specific property is in the collection.

(Inherited from ComplexPropertyCollection<TComplexProperty>)
GetEnumerator() GetEnumerator() GetEnumerator()

Gets an enumerator that iterates through the elements of the collection.

(Inherited from ComplexPropertyCollection<TComplexProperty>)
IndexOf(TComplexProperty) IndexOf(TComplexProperty) IndexOf(TComplexProperty)

Searches for a specific property and return its zero-based index within the collection.

(Inherited from ComplexPropertyCollection<TComplexProperty>)
Remove(EmailAddress) Remove(EmailAddress) Remove(EmailAddress)

Removes the specified e-mail address from the collection.

RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

Removes an e-mail address from the collection at the specified index.

Properties

Count Count Count

Gets the total number of properties in the collection.

(Inherited from ComplexPropertyCollection<TComplexProperty>)
Item[Int32] Item[Int32] Item[Int32]

Gets the property at the specified index.

(Inherited from ComplexPropertyCollection<TComplexProperty>)

Explicit Interface Implementations

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

Gets an enumerator that iterates through the elements of the collection. The IEnumerable.GetEnumerator() method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

(Inherited from ComplexPropertyCollection<TComplexProperty>)

Applies to