Represents a collection of email address strings that can be accessed by
a key string representing the name of that email address.
Inheritance Hierarchy
Ipswitch.Messaging.FrameworkContactEmailDictionary
Namespace: Ipswitch.Messaging.Framework
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax
public class ContactEmailDictionary : IDictionary<string, EmailAddress>, ICollection<KeyValuePair<string, EmailAddress>>, IEnumerable<KeyValuePair<string, EmailAddress>>, IEnumerable
The ContactEmailDictionary type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ContactEmailDictionary |
Creates a new empty instance of the ContactEmailDictionary class.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds a new email address string to the dictionary with the specified key (name).
| |
| Clear |
Removes all elements from the ContactEmailDictionary
| |
| ContainsKey |
Determines whether or not the ContactEmailDictionary contains a email address with the specified key (name).
| |
| Equals | (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator that iterates through the items in the ContactEmailDictionary.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetNonStandardEmailAddresses |
Retrieves an enumerable collection of email address strings and names from the ContactEmailDictionary
that are not one of the standard email addresses.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Remove |
Removes the email address with the specified key (name) from the ContactEmailDictionary.
| |
| ToString | (Inherited from Object.) | |
| TryGetValue |
Gets the email address with the specified key (name).
|
Properties
| Name | Description | |
|---|---|---|
| Count |
Gets the number of email address elements in the ContactEmailDictionary.
| |
| Email1 |
Gets or sets the first standard email address field.
| |
| Email2 |
Gets or sets the second standard email address field.
| |
| Email3 |
Gets or sets the third standard email address field.
| |
| Item |
Gets or sets the email address with the specified key (name).
| |
| Keys |
Gets a collection containing all the Keys in the ContactEmailDictionary. Each key is the name of a particular email address in the dictionary.
| |
| Values |
Gets a collection of the email addresses in the ContactEmailDictionary.
|
See Also