Class MailAddress

MailAddress class

Represents the address of a message.

public class MailAddress : IMailAddress

Constructors

NameDescription
MailAddress(string)Initializes a new instance of the MailAddress class.
MailAddress(string, bool)Initializes a new instance of the MailAddress class.
MailAddress(string, string)Initializes a new instance of the MailAddress class.
MailAddress(string, string, bool)Initializes a new instance of the MailAddress class.
MailAddress(string, string, Encoding)Initializes a new instance of the MailAddress class.
MailAddress(string, string, Encoding, bool)Initializes a new instance of the MailAddress class.

Properties

NameDescription
Address { get; set; }Gets or sets the e-mail address.
Count { get; }Contains count of mail addresses.
DisplayName { get; set; }Gets or sets a display name.
Host { get; }Gets the host portion of the address.
Id { get; }Gets object identification information
Item { get; }Gets the element at the specified index.
OriginalAddressString { get; }Gets or sets the original e-mail address string.
ParticipationStatus { get; set; }Gets or sets the participation status for the calendar user.
User { get; }Gets the username.

Methods

NameDescription
override Equals(object)Determines whether the specified Object is equal to this instance.
override GetHashCode()Returns a hash code for this instance.
override ToString()Returns a String that represents this instance.
implicit operatorPerforms an implicit conversion from String to MailAddress. (2 operators)

See Also