Key property

String? get Key
Initializes a new instance of the The SMTP address of the member. Initializes a new instance of the The address of the member. The routing type of the address. The mailbox type of the member. Initializes a new instance of the The SMTP address of the member. The mailbox type of the member. Initializes a new instance of the The name of the one-off member. The address of the one-off member. The routing type of the address. Initializes a new instance of the The name of the one-off member. The SMTP address of the one-off member. Initializes a new instance of the The Id of the contact group to link the member to. Initializes a new instance of the The Id of the contact member. The Id of the contact to link the member to. Initializes a new instance of the The e-mail address of the member. Initializes a new instance of the GroupMember class instance to copy. Initializes a new instance of the The contact to link to. The contact's e-mail address to link to. Gets the key of the member.

Implementation

// GroupMember.withSmtpAddress(String smtpAddress)
//            : this.AddressInformation = new EmailAddress.withEmailAddress(smtpAddress), this();

/// <summary>
/// Initializes a new instance of the <see cref="GroupMember"/> class.
/// </summary>
/// <param name="address">The address of the member.</param>
/// <param name="routingType">The routing type of the address.</param>
/// <param name="mailboxType">The mailbox type of the member.</param>
// GroupMember.withSmtpAddressAndRoutingTypeAndMailboxType(String address, String routingType, MailboxType mailboxType)
//            : this()
//        {
//            switch (mailboxType)
//            {
//                case MailboxType.PublicGroup:
//                case MailboxType.PublicFolder:
//                case MailboxType.Mailbox:
//                case MailboxType.Contact:
//                case MailboxType.OneOff:
//                    this.AddressInformation = new EmailAddress(null, address, routingType, mailboxType);
//                    break;
//
//                default:
//                    throw new ServiceLocalException("Strings.InvalidMailboxType");
//            }
//        }

/// <summary>
/// Initializes a new instance of the <see cref="GroupMember"/> class.
/// </summary>
/// <param name="smtpAddress">The SMTP address of the member.</param>
/// <param name="mailboxType">The mailbox type of the member.</param>
// GroupMember.withSmtpAddressAndMailboxType(String smtpAddress, MailboxType mailboxType)
//            : this(smtpAddress, EmailAddress.SmtpRoutingType, mailboxType)
//        {
//        }

/// <summary>
/// Initializes a new instance of the <see cref="GroupMember"/> class.
/// </summary>
/// <param name="name">The name of the one-off member.</param>
/// <param name="address">The address of the one-off member.</param>
/// <param name="routingType">The routing type of the address.</param>
// GroupMember(String name, String address, String routingType)
//            : this()
//        {
//            this.AddressInformation = new EmailAddress(name, address, routingType, MailboxType.OneOff);
//        }

/// <summary>
/// Initializes a new instance of the <see cref="GroupMember"/> class.
/// </summary>
/// <param name="name">The name of the one-off member.</param>
/// <param name="smtpAddress">The SMTP address of the one-off member.</param>
// GroupMember(String name, String smtpAddress)
//            : this(name, smtpAddress, EmailAddress.SmtpRoutingType)
//        {
//        }

/// <summary>
/// Initializes a new instance of the <see cref="GroupMember"/> class.
/// </summary>
/// <param name="contactGroupId">The Id of the contact group to link the member to.</param>
// GroupMember(ItemId contactGroupId)
//            : this()
//        {
//            this.AddressInformation = new EmailAddress(
//                null,
//                null,
//                null,
//                MailboxType.ContactGroup,
//                contactGroupId);
//        }

/// <summary>
/// Initializes a new instance of the <see cref="GroupMember"/> class.
/// </summary>
/// <param name="contactId">The Id of the contact member.</param>
/// <param name="addressToLink">The Id of the contact to link the member to.</param>
// GroupMember(ItemId contactId, String addressToLink)
//            : this()
//        {
//            this.AddressInformation = new EmailAddress(
//                null,
//                addressToLink,
//                null,
//                MailboxType.Contact,
//                contactId);
//        }

/// <summary>
/// Initializes a new instance of the <see cref="GroupMember"/> class.
/// </summary>
/// <param name="addressInformation">The e-mail address of the member.</param>
// GroupMember.withEmailAddress(EmailAddress addressInformation)
//            : this()
//        {
//            this.AddressInformation = new EmailAddress.withEmailAddress(addressInformation);
//        }

/// <summary>
/// Initializes a new instance of the <see cref="GroupMember"/> class from another GroupMember instance.
/// </summary>
/// <param name="member">GroupMember class instance to copy.</param>
//        GroupMember.withGroupMember(GroupMember member)
//            : this()
//        {
//            EwsUtilities.ValidateParam(member, "member");
//            this.AddressInformation = new EmailAddress.withEmailAddress(member.AddressInformation);
//        }

/// <summary>
/// Initializes a new instance of the <see cref="GroupMember"/> class from a Contact instance indexed by the specified key.
/// </summary>
/// <param name="contact">The contact to link to.</param>
/// <param name="emailAddressKey">The contact's e-mail address to link to.</param>
// GroupMember.withContactAndEmailAddressKey(Contact contact, EmailAddressKey emailAddressKey)
//            : this()
//        {
//            EwsUtilities.ValidateParam(contact, "contact");
//
//            EmailAddress emailAddress = contact.EmailAddresses[emailAddressKey];
//
//            this.AddressInformation = new EmailAddress.withEmailAddress(emailAddress);
//
//            this.addressInformation.Id = contact.Id;
//        }

/// <summary>
/// Gets the key of the member.
/// </summary>
String? get Key => this.key;