AddWithNameAndSmtpAddress method

Attendee AddWithNameAndSmtpAddress(
  1. String name,
  2. String smtpAddress
)
Adds a attendee to the collection. The name of the attendee. The SMTP address of the attendee.

Implementation

Attendee AddWithNameAndSmtpAddress(String name, String smtpAddress) {
  Attendee result = new Attendee(name: name, smtpAddress: smtpAddress);

  this.InternalAdd(result);

  return result;
}