Represents a collection of phone number strings that can be accessed by
a key string representing the name of that phone number.
Inheritance Hierarchy
Ipswitch.Messaging.FrameworkContactPhoneDictionary
Namespace: Ipswitch.Messaging.Framework
Assembly: Ipswitch.Messaging.Framework (in Ipswitch.Messaging.Framework.dll) Version: 1.0.0.0
Syntax
public class ContactPhoneDictionary : IDictionary<string, string>, ICollection<KeyValuePair<string, string>>, IEnumerable<KeyValuePair<string, string>>, IEnumerable
The ContactPhoneDictionary type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ContactPhoneDictionary |
Creates a new empty instance of the PhoneNumberDictionary class.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds a new phone number string to the dictionary with the specified key (name).
| |
| Clear |
Removes all elements from the PhoneNumberDictionary
| |
| ContainsKey |
Determines whether or not the PhoneNumberDictionary contains a phone number with the specified key (name).
| |
| Equals | (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator that iterates through the items in the PhoneNumberDictionary.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetNonStandardPhoneNumbers |
Retrieves an enumerable collection of phone number strings and names from the PhoneNumberDictionary
that are not one of the standard phone numbers.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Remove |
Removes the phone number with the specified key (name) from the PhoneNumberDictionary.
| |
| ToString | (Inherited from Object.) | |
| TryGetValue |
Gets the phone number with the specified key (name).
|
Properties
| Name | Description | |
|---|---|---|
| Assistant |
Gets or sets the standard Assistant phone number field.
| |
| Business |
Gets or sets the standard Business phone number field.
| |
| Business2 |
Gets or sets the standard Business 2 phone number field.
| |
| BusinessFax |
Gets or sets the standard Business Fax phone number field.
| |
| Callback |
Gets or sets the standard Callback phone number field.
| |
| Car |
Gets or sets the standard Car phone number field.
| |
| Company |
Gets or sets the standard Company phone number field.
| |
| Count |
Gets the number of phone number elements in the PhoneNumberDictionary.
| |
| Home |
Gets or sets the standard Home phone number field.
| |
| Home2 |
Gets or sets the standard Home 2 phone number field.
| |
| HomeFax |
Gets or sets the standard Home Fax phone number field.
| |
| Isdn |
Gets or sets the standard ISDN phone number field.
| |
| Item |
Gets or sets the phone number with the specified key (name).
| |
| Keys |
Gets a collection containing all the Keys in the PhoneNumberDictionary. Each key is the name of a particular phone number in the dictionary.
| |
| Mobile |
Gets or sets the standard Mobile phone number field.
| |
| Other |
Gets or sets the standard Other phone number field.
| |
| OtherFax |
Gets or sets the standard Other Fax phone number field.
| |
| Pager |
Gets or sets the standard Pager phone number field.
| |
| Primary |
Gets or sets the standard Primary phone number field.
| |
| Radio |
Gets or sets the standard Radio phone number field.
| |
| Telex |
Gets or sets the standard Telex phone number field.
| |
| TtyTdd |
Gets or sets the standard TTY/TDD phone number field.
| |
| Values |
Gets a collection of the phone numbers in the PhoneNumberDictionary.
|
See Also