Edit

Share via


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

Properties

Count

Gets the total number of properties in the collection.

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

Gets the property at the specified index.

(Inherited from ComplexPropertyCollection<TComplexProperty>)

Methods

Add(EmailAddress)

Adds an e-mail address to the collection.

Add(String, String)

Adds an e-mail address to the collection.

Add(String)

Adds an e-mail address to the collection.

AddRange(IEnumerable<EmailAddress>)

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

AddRange(IEnumerable<String>)

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

Clear()

Removes all e-mail addresses from the collection.

Contains(TComplexProperty)

Determines whether a specific property is in the collection.

(Inherited from ComplexPropertyCollection<TComplexProperty>)
GetEnumerator()

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

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

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

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

Removes the specified e-mail address from the collection.

RemoveAt(Int32)

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

Explicit Interface Implementations

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