GroupMemberCollection 类

定义

表示一组联系人。

public ref class GroupMemberCollection sealed : Microsoft::Exchange::WebServices::Data::ComplexPropertyCollection<Microsoft::Exchange::WebServices::Data::GroupMember ^>
public sealed class GroupMemberCollection : Microsoft.Exchange.WebServices.Data.ComplexPropertyCollection<Microsoft.Exchange.WebServices.Data.GroupMember>
Public NotInheritable Class GroupMemberCollection
Inherits ComplexPropertyCollection(Of GroupMember)
继承

构造函数

GroupMemberCollection()

初始化 类的新实例 GroupMemberCollection

属性

Count

获取集合中属性的总数。

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

获取指定索引处的属性。

(继承自 ComplexPropertyCollection<TComplexProperty>)

方法

Add(GroupMember)

将成员添加到组。

AddContactEmailAddress(Contact, EmailAddressKey)

添加一个组成员,该成员链接到联系人的特定电子邮件地址。

AddContactGroup(ItemId)

将成员添加到链接的联系人组。

AddDirectoryContact(String, String)

添加一个成员,该成员链接到由指定的电子邮件地址和路由类型标识的 Active Directory 联系人。

AddDirectoryContact(String)

添加一个成员,该成员链接到由指定的电子邮件地址标识的 Active Directory 联系人。

AddDirectoryPublicFolder(String)

添加链接到已启用邮件的公用文件夹的成员。

AddDirectoryUser(String, String)

添加一个成员,该成员链接到由电子邮件地址和路由类型指定的 Active Directory 用户。

AddDirectoryUser(String)

添加链接到由 SMTP 地址指定的 Active Directory 用户的成员。

AddOneOff(String, String, String)

将一次性成员添加到具有指定显示名称、电子邮件地址和路由类型的组。

AddOneOff(String, String)

将一次性成员添加到具有指定显示名称和 SMTP 电子邮件地址的组。

AddPersonalContact(ItemId, String)

添加链接到特定个人联系人和电子邮件地址的成员。

AddPersonalContact(ItemId)

添加链接到特定个人联系人的成员。

AddPublicGroup(String)

添加链接到公共组的成员。

AddRange(IEnumerable<GroupMember>)

将多个成员添加到组。

Clear()

从组中删除所有联系人。

Contains(TComplexProperty)

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

(继承自 ComplexPropertyCollection<TComplexProperty>)
Find(String)

查找集合中具有指定键的成员。

GetEnumerator()

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

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

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

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

从集合中删除指定的成员。

RemoveAt(Int32)

删除指定索引处的组成员。

显式接口实现

IEnumerable.GetEnumerator()

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

(继承自 ComplexPropertyCollection<TComplexProperty>)

适用于