mimekit-ts - v1.0.0
    Preparing search index...

    Class MessageIdList

    Represents a list of Message-Id values.

    Implements

    • Iterable<string>
    Index
    onChanged: (() => void) | null = null

    C#: internal event Changed.

    • Gets the message id at the specified index.

      Parameters

      • index: number

        The index.

      Returns string

      The message id.

      index is out of range.

    • Sets the message id at the specified index.

      Parameters

      • index: number

        The index.

      • value: string

        The message id.

      Returns void

      value is null or undefined.

      index is out of range.

    • Gets the index of the requested message id.

      Parameters

      • messageId: string

        The message id.

      Returns number

      The index of the message id, or -1 if it is not found.

      messageId is null or undefined.

    • Inserts a message id at the specified index.

      Parameters

      • index: number

        The insertion index.

      • messageId: string

        The message id to insert.

      Returns void

      messageId is null or undefined.

      index is out of range.

    • Removes the message id at the specified index.

      Parameters

      • index: number

        The index.

      Returns void

      index is out of range.

    • Adds a message id.

      Parameters

      • messageId: string

        The message id.

      Returns void

      messageId is null or undefined.

    • Adds a sequence of message ids.

      Parameters

      • items: Iterable<string>

        The message ids to add.

      Returns void

      items is null or undefined.

    • Determines whether the list contains the specified message id.

      Parameters

      • messageId: string

        The message id.

      Returns boolean

      true if the message id is contained; otherwise, false.

      messageId is null or undefined.

    • Copies the message ids to an array.

      Parameters

      • array: string[]

        The destination array.

      • arrayIndex: number

        The index into the array.

      Returns void

      array is null or undefined.

      arrayIndex is out of range.

    • Removes a message id.

      Parameters

      • messageId: string

        The message id.

      Returns boolean

      true if the message id was removed; otherwise, false.

      messageId is null or undefined.

    • Serializes this list as a space-separated References header value.

      Returns string

      A string representing this message-id list.

    • Returns Iterator<string>