GroupMemberCollection GroupMemberCollection GroupMemberCollection Class

Definition

Represents a group of contacts.

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)
Inheritance

Constructors

GroupMemberCollection() GroupMemberCollection() GroupMemberCollection()

Initializes a new instance of the GroupMemberCollection class.

Methods

Add(GroupMember) Add(GroupMember) Add(GroupMember)

Adds a member to the group.

AddContactEmailAddress(Contact, EmailAddressKey) AddContactEmailAddress(Contact, EmailAddressKey) AddContactEmailAddress(Contact, EmailAddressKey)

Adds a group member that is linked to a specific e-mail address for a contact.

AddContactGroup(ItemId) AddContactGroup(ItemId) AddContactGroup(ItemId)

Adds a member to a linked contact group.

AddDirectoryContact(String) AddDirectoryContact(String) AddDirectoryContact(String)

Adds a member that is linked to an Active Directory contact that is identified by the specified e-mail address.

AddDirectoryContact(String, String) AddDirectoryContact(String, String) AddDirectoryContact(String, String)

Adds a member that is linked to an Active Directory contact that is identified by the specified e-mail address and routing type.

AddDirectoryPublicFolder(String) AddDirectoryPublicFolder(String) AddDirectoryPublicFolder(String)

Adds a member that is linked to a mail-enabled public folder.

AddDirectoryUser(String) AddDirectoryUser(String) AddDirectoryUser(String)

Adds a member that is linked to an Active Directory user that is specified by SMTP address.

AddDirectoryUser(String, String) AddDirectoryUser(String, String) AddDirectoryUser(String, String)

Adds a member that is linked to an Active Directory user that is specified by e-mail address and routing type.

AddOneOff(String, String) AddOneOff(String, String) AddOneOff(String, String)

Adds a one-off member to the group with the specified display name and SMTP e-mail address.

AddOneOff(String, String, String) AddOneOff(String, String, String) AddOneOff(String, String, String)

Adds a one-off member to the group with the specified display name, e-mail address, and routing type.

AddPersonalContact(ItemId) AddPersonalContact(ItemId) AddPersonalContact(ItemId)

Adds a member that is linked to a specific personal contact.

AddPersonalContact(ItemId, String) AddPersonalContact(ItemId, String) AddPersonalContact(ItemId, String)

Adds a member that is linked to a specific personal contact and e-mail address.

AddPublicGroup(String) AddPublicGroup(String) AddPublicGroup(String)

Adds a member that is linked to a public group.

AddRange(IEnumerable<GroupMember>) AddRange(IEnumerable<GroupMember>) AddRange(IEnumerable<GroupMember>)

Adds multiple members to a group.

Clear() Clear() Clear()

Removes all contacts from the group.

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

Determines whether a specific property is in the collection.

(Inherited from ComplexPropertyCollection<TComplexProperty>)
Find(String) Find(String) Find(String)

Finds the member in the collection that has the specified key.

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(GroupMember) Remove(GroupMember) Remove(GroupMember)

Removes the specified member from the collection.

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

Removes the group member 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