Find method

GroupMember? Find(
  1. String key
)
Finds the member with the specified key in the collection. Members that have not yet been saved do not have a key. The key of the member to find.

Implementation

GroupMember? Find(String key) {
  EwsUtilities.ValidateParam(key, "key");

  for (GroupMember item in this.Items) {
    if (item.Key == key) {
      return item;
    }
  }

  return null;
}