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

Initializes a new instance of the GroupMemberCollection class.

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

Adds a member to the group.

AddContactEmailAddress(Contact, EmailAddressKey)

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

AddContactGroup(ItemId)

Adds a member to a linked contact group.

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)

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)

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

AddDirectoryUser(String)

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

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)

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

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)

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

AddPersonalContact(ItemId, String)

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

AddPublicGroup(String)

Adds a member that is linked to a public group.

AddRange(IEnumerable<GroupMember>)

Adds multiple members to a group.

Clear()

Removes all contacts from the group.

Contains(TComplexProperty)

Determines whether a specific property is in the collection.

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

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

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

Removes the specified member from the collection.

RemoveAt(Int32)

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