EnumerateMessageInfo
Contents
[
Hide
]EnumerateMessageInfo (1 of 3)
Exposes the enumerator, which supports an iteration of messages in storage.
Returns: System::Collections::Generic::IEnumerable
EnumerateMessageInfo()
EnumerateMessageInfo (2 of 3)
Enumerates a specified number of message information entries, starting from the given index.
Returns: An enumerable collection of MboxMessageInfo instances starting from the specified index. The collection may be empty if there are no messages in the specified range.
EnumerateMessageInfo(int32_t startIndex, int32_t count)
| Parameter | Description |
|---|---|
| startIndex | The zero-based index of the first message to retrieve. If startIndex is greater than or equal to the total number of items, an ArgumentOutOfRangeException is thrown. |
| count | The maximum number of message information entries to retrieve. If set to -1, all messages from the start index will be read. |
EnumerateMessageInfo (3 of 3)
Enumerates the message information that matches the specified query.
Returns: An enumerable collection of MboxMessageInfo instances that match the specified query. The collection may be empty if no messages match.
EnumerateMessageInfo(System::SharedPtr < Tools::Search::MailQuery > query)
| Parameter | Description |
|---|---|
| query | The MailQuery used to filter messages. |