Click or drag to resize
MimeKit

UniqueId Structure

A unique identifier.
Inheritance Hierarchy
SystemObject
  SystemValueType
    MailKitUniqueId

Namespace: MailKit
Assembly: MailKit (in MailKit.dll) Version: 4.7.1
Syntax
C#
public readonly struct UniqueId : IComparable<UniqueId>, 
	IEquatable<UniqueId>

The UniqueId type exposes the following members.

Constructors
 NameDescription
Public methodUniqueId(UInt32) Initializes a new instance of the UniqueId struct.
Public methodUniqueId(UInt32, UInt32) Initializes a new instance of the UniqueId struct.
Top
Properties
 NameDescription
Public propertyId Gets the identifier.
Public propertyIsValid Gets whether or not the unique identifier is valid.
Public propertyValidity Gets the validity, if non-zero.
Top
Methods
 NameDescription
Public methodCompareTo Compares two UniqueId objects.
Public methodEquals(Object) Determines whether the specified Object is equal to the current UniqueId.
(Overrides ValueTypeEquals(Object))
Public methodEquals(UniqueId) Determines whether the specified UniqueId is equal to the current UniqueId.
Public methodGetHashCode Serves as a hash function for a UniqueId object.
(Overrides ValueTypeGetHashCode)
Public methodGetType
(Inherited from Object)
Public methodStatic memberParse(String) Parse a unique identifier.
Public methodStatic memberParse(String, UInt32) Parse a unique identifier.
Public methodToString Returns a String that represents the current UniqueId.
(Overrides ValueTypeToString)
Public methodStatic memberTryParse(String, UniqueId) Attempt to parse a unique identifier.
Public methodStatic memberTryParse(String, UInt32, UniqueId) Attempt to parse a unique identifier.
Top
Operators
 NameDescription
Public operatorStatic memberEquality(UniqueId, UniqueId) Determines whether two unique identifiers are equal.
Public operatorStatic memberGreaterThan(UniqueId, UniqueId) Determines whether one unique identifier is greater than another unique identifier.
Public operatorStatic memberGreaterThanOrEqual(UniqueId, UniqueId) Determines whether one unique identifier is greater than or equal to another unique identifier.
Public operatorStatic memberInequality(UniqueId, UniqueId) Determines whether two unique identifiers are not equal.
Public operatorStatic memberLessThan(UniqueId, UniqueId) Determines whether one unique identifier is less than another unique identifier.
Public operatorStatic memberLessThanOrEqual(UniqueId, UniqueId) Determines whether one unique identifier is less than or equal to another unique identifier.
Top
Fields
 NameDescription
Public fieldStatic memberInvalid The invalid UniqueId value.
Public fieldStatic memberMaxValue The maximum UniqueId value.
Public fieldStatic memberMinValue The minimum UniqueId value.
Top
Remarks
Represents a unique identifier for messages in a IMailFolder.
See Also