Click or drag to resize
MimeKit

UniqueIdMap Class

A mapping of unique identifiers.
Inheritance Hierarchy
SystemObject
  MailKitUniqueIdMap

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public class UniqueIdMap : IReadOnlyDictionary<UniqueId, UniqueId>, 
	IReadOnlyCollection<KeyValuePair<UniqueId, UniqueId>>, IEnumerable<KeyValuePair<UniqueId, UniqueId>>, 
	IEnumerable

The UniqueIdMap type exposes the following members.

Constructors
 NameDescription
Public methodUniqueIdMap Initializes a new instance of the UniqueIdMap class.
Top
Properties
 NameDescription
Public propertyCount Gets the number of unique identifiers that have been remapped.
Public propertyDestination Gets the list of unique identifiers used in the destination folder.
Public propertyItem Gets the remapped unique identifier.
Public propertyKeys Gets the keys.
Public propertySource Gets the list of unique identifiers used in the source folder.
Public propertyValues Gets the values.
Top
Methods
 NameDescription
Public methodContainsKey Checks if the specified unique identifier has been remapped.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetEnumerator Gets the enumerator for the remapped unique identifiers.
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodToString
(Inherited from Object)
Public methodTryGetValue Tries to get the remapped unique identifier.
Top
Fields
 NameDescription
Public fieldStatic memberEmpty Any empty mapping of unique identifiers.
Top
Remarks

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.

See Also