EnumerateMessageInfo

EnumerateMessageInfo (1 of 3)

Exposes the enumerator, which supports an iteration of messages in storage.

Returns: System::Collections::Generic::IEnumerable , that represents an enumerator that iterates through a messages in storage.

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)
ParameterDescription
startIndexThe 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.
countThe 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)
ParameterDescription
queryThe MailQuery used to filter messages.