![]() | UniqueIdMap Class |
Namespace: MailKit
public class UniqueIdMap : IReadOnlyDictionary<UniqueId, UniqueId>, IReadOnlyCollection<KeyValuePair<UniqueId, UniqueId>>, IEnumerable<KeyValuePair<UniqueId, UniqueId>>, IEnumerable
The UniqueIdMap type exposes the following members.
Name | Description | |
---|---|---|
![]() | UniqueIdMap |
Initializes a new instance of the UniqueIdMap class.
|
Name | Description | |
---|---|---|
![]() | Count |
Gets the number of unique identifiers that have been remapped.
|
![]() | Destination |
Gets the list of unique identifiers used in the destination folder.
|
![]() | Item |
Gets the remapped unique identifier.
|
![]() | Keys |
Gets the keys.
|
![]() | Source |
Gets the list of unique identifiers used in the source folder.
|
![]() | Values |
Gets the values.
|
Name | Description | |
---|---|---|
![]() | ContainsKey |
Checks if the specified unique identifier has been remapped.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator |
Gets the enumerator for the remapped unique identifiers.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryGetValue |
Tries to get the remapped unique identifier.
|
A UniqueIdMap can be used to discover the mapping of one set of unique identifiers to another.
For example, when copying or moving messages from one folder to another, it is often desirable to know what the unique identifiers are for each of the messages in the destination folder.