Click or drag to resize
MimeKit

UniqueIdSet Class

A set of unique identifiers.
Inheritance Hierarchy
SystemObject
  MailKitUniqueIdSet

Namespace:  MailKit
Assembly:  MailKit (in MailKit.dll) Version: 3.0.0
Syntax
C#
public class UniqueIdSet : IList<UniqueId>, 
	ICollection<UniqueId>, IEnumerable<UniqueId>, IEnumerable

The UniqueIdSet type exposes the following members.

Constructors
  NameDescription
Public methodUniqueIdSet(SortOrder)
Initializes a new instance of the UniqueIdSet class.
Public methodUniqueIdSet(IEnumerableUniqueId, SortOrder)
Initializes a new instance of the UniqueIdSet class.
Public methodUniqueIdSet(UInt32, SortOrder)
Initializes a new instance of the UniqueIdSet class.
Top
Properties
  NameDescription
Public propertyCount
Get the number of unique ids in the set.
Public propertyIsReadOnly
Get whether or not the set is read only.
Public propertyItem
Gets or sets the unique identifier at the specified index.
Public propertySortOrder
Gets the sort order of the unique identifiers.
Public propertyValidity
Gets the validity, if non-zero.
Top
Methods
  NameDescription
Public methodAdd
Adds the unique identifier to the set.
Public methodAddRange
Adds all of the uids to the set.
Public methodClear
Clears the list.
Public methodContains
Checks if the set contains the specified unique id.
Public methodCopyTo
Copies all of the unique ids in the set to the specified array.
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 an enumerator for the set of unique ids.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Gets the index of the specified unique id, if it exists.
Public methodInsert
Inserts the specified unique identifier at the given index.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the unique identifier from the set.
Public methodRemoveAt
Removes the unique identifier at the specified index.
Public methodToString
Returns a String that represents the current UniqueIdSet.
(Overrides ObjectToString.)
Public methodStatic memberToString(IListUniqueId)
Format a generic list of unique identifiers as a string.
Public methodStatic memberTryParse(String, UniqueIdSet)
Attempt to parse the specified token as a set of unique identifiers.
Public methodStatic memberTryParse(String, UInt32, UniqueIdSet)
Attempt to parse the specified token as a set of unique identifiers.
Top
Remarks
When dealing with a large number of unique identifiers, it may be more efficient to use a UniqueIdSet than a typical IList<UniqueId>.
See Also