EmailAddressCollection 类

定义

表示电子邮件地址的集合。

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)
继承

属性

Count

获取集合中属性的总数。

(继承自 ComplexPropertyCollection<TComplexProperty>)
Item[Int32]

获取指定索引处的属性。

(继承自 ComplexPropertyCollection<TComplexProperty>)

方法

Add(EmailAddress)

将电子邮件地址添加到集合。

Add(String, String)

将电子邮件地址添加到集合。

Add(String)

将电子邮件地址添加到集合。

AddRange(IEnumerable<EmailAddress>)

将一个或多个电子邮件地址添加到集合。

AddRange(IEnumerable<String>)

将 SMTP 地址标识的一个或多个电子邮件地址添加到集合。

Clear()

从集合中删除所有电子邮件地址。

Contains(TComplexProperty)

确定特定属性是否在集合中。

(继承自 ComplexPropertyCollection<TComplexProperty>)
GetEnumerator()

获取循环访问集合元素的枚举器。

(继承自 ComplexPropertyCollection<TComplexProperty>)
IndexOf(TComplexProperty)

搜索特定属性并在集合中返回其从零开始的索引。

(继承自 ComplexPropertyCollection<TComplexProperty>)
Remove(EmailAddress)

从集合中删除指定的电子邮件地址。

RemoveAt(Int32)

从集合中移除指定索引处的电子邮件地址。

显式接口实现

IEnumerable.GetEnumerator()

获取循环访问集合元素的枚举器。 方法IEnumerable.GetEnumerator()适用于从 Exchange Server 2013 开始面向 Exchange Online 和 Exchange 版本的客户端。

(继承自 ComplexPropertyCollection<TComplexProperty>)

适用于