GroupMemberCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, String) |
Adds a member that is linked to an Active Directory contact that is identified by the specified e-mail address and routing type. |
AddDirectoryContact(String) |
Adds a member that is linked to an Active Directory contact that is identified by the specified e-mail address. |
AddDirectoryPublicFolder(String) |
Adds a member that is linked to a mail-enabled public folder. |
AddDirectoryUser(String, String) |
Adds a member that is linked to an Active Directory user that is specified by e-mail address and routing type. |
AddDirectoryUser(String) |
Adds a member that is linked to an Active Directory user that is specified by SMTP address. |
AddOneOff(String, String, String) |
Adds a one-off member to the group with the specified display name, 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. |
AddPersonalContact(ItemId, String) |
Adds a member that is linked to a specific personal contact and e-mail address. |
AddPersonalContact(ItemId) |
Adds a member that is linked to a specific personal contact. |
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>) |