EmailAddress class

Represents an e-mail address.
Inheritance
Implemented types
Implementers

Constructors

EmailAddress({String? name, String? smtpAddress, String? routingType, MailboxType? mailboxType, ItemId? itemId})
Initializes a new instance of the
EmailAddress.withEmailAddress(EmailAddress mailbox)
Initializes a new instance of the

Properties

address String?
Email address.
getter/setter pair
Address String?
Gets or sets the actual address associated with the e-mail address. The type of the Address property must match the specified routing type. If RoutingType is not set, Address is assumed to be an SMTP address.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id ItemId?
ItemId - Contact or PDL.
getter/setter pair
Id ItemId?
Gets or sets the Id of the contact the e-mail address represents. When Id is specified, Address should be set to null.
getter/setter pair
mailboxType MailboxType?
Mailbox type.
getter/setter pair
MailboxType MailboxType?
Gets or sets the type of the e-mail address.
getter/setter pair
name String?
Display name.
getter/setter pair
Name String?
Gets or sets the name associated with the e-mail address.
getter/setter pair
Namespace XmlNamespace
Gets or sets the namespace.
getter/setter pairinherited
OnChangeList List<IComplexPropertyChangedDelegate>
Occurs when property changed.
getter/setter pairinherited
routingType String?
Routing type.
getter/setter pair
RoutingType String?
Gets or sets the routing type associated with the e-mail address. If RoutingType is not set, Address is assumed to be an SMTP address.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addOnChangeEvent(IComplexPropertyChangedDelegate change) → void
inherited
CanSetFieldValue<T>(T field, T value) bool
Sets value of field.
inherited
Changed() → dynamic
Instance was changed.
inherited
ClearChangeLog() → void
Clears the change log.
inherited
GetSearchString() String?
override
InternalValidate() → void
Validates this instance.
inherited
LoadFromXml(EwsServiceXmlReader reader, String? xmlElementName) Future<void>
Loads from XML.
inherited
LoadFromXmlWithNamespace(EwsServiceXmlReader reader, XmlNamespace xmlNamespace, String? xmlElementName) Future<void>
Loads from XML.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ReadAttributesFromXml(EwsServiceXmlReader reader) → void
Reads the attributes from XML.
inherited
ReadTextValueFromXml(EwsServiceXmlReader reader) Future<void>
Reads the text value from XML.
inherited
removeChangeEvent(IComplexPropertyChangedDelegate change) → void
inherited
toString() String
Returns a
override
TryReadElementFromXml(EwsServiceXmlReader reader) Future<bool>
Defines an implicit conversion between a String representing an SMTP address and EmailAddress.
override
TryReadElementFromXmlToPatch(EwsServiceXmlReader reader) Future<bool>
Tries to read element from XML to patch this property.
inherited
UpdateFromXml(EwsServiceXmlReader reader, String xmlElementName) Future<void>
Loads from XML to update this property.
inherited
UpdateFromXmlWithNamespace(EwsServiceXmlReader reader, XmlNamespace xmlNamespace, String xmlElementName) Future<void>
Loads from XML to update itself.
inherited
Validate() → void
Implements ISelfValidate.Validate. Validates this instance.
inherited
WriteAttributesToXml(EwsServiceXmlWriter writer) → void
Writes the attributes to XML.
inherited
WriteElementsToXml(EwsServiceXmlWriter writer) → void
Writes elements to XML.
override
WriteToXml(EwsServiceXmlWriter writer, String? xmlElementName) → void
Writes to XML.
inherited
WriteToXmlWithNamespace(EwsServiceXmlWriter writer, XmlNamespace xmlNamespace, String? xmlElementName) → void
Writes to XML.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

SmtpRoutingType → const String
SMTP routing type.