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: 3.0.0
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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodGetEnumerator
Gets the enumerator for the remapped unique identifiers.
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 methodToString
Returns a string that represents the current object.
(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