EmailAddress Methods

The EmailAddress type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberEscapeIdnDomain
Converts domain part of e-mail address string into IDN format.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFromIdnAddress
Gets a new EmailAddress object which is a copy of the current object with the domain part converted from IDN format.
Public methodCode exampleGetAccountName
Gets the account name of the e-mail address.
Public methodStatic memberCode exampleGetAccountNameFromEmail
Gets the account name of the specified e-mail address as a string.
Public methodCode exampleGetDomain
Gets the domain name of the e-mail address.
Public methodStatic memberCode exampleGetDomainFromEmail
Gets the domain name of the specified e-mail address as a string.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStatic memberCode exampleParse
Parses an e-mail address string and returns EmailAddress object which represents the given e-mail addresses.
Public methodToIdnAddress
Gets a new EmailAddress object which is a copy of the current object with the domain part converted into IDN format.
Public methodCode exampleToString
Returns the e-mail address as a string.
(Overrides ObjectToString.)
Public methodStatic memberUnescapeIdnDomain
Converts domain part of e-mail address string from IDN format into Unicode.
Top
See Also