OlmFolderEnumerateMessages Method (MailQuery)

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

Namespace:  Aspose.Email.Storage.Olm
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public IEnumerable<OlmMessageInfo> EnumerateMessages(
	MailQuery query
)

Parameters

query
Type: Aspose.Email.Tools.SearchMailQuery
MailQuery that represents search query.

Return Value

Type: IEnumerableOlmMessageInfo
IEnumerableT, that represents an enumerator that iterates through a messages in folder.
See Also