OlmStorageEnumerateMessages Method

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<MapiMessage> EnumerateMessages(
	OlmFolder folder
)

Parameters

folder
Type: Aspose.Email.Storage.OlmOlmFolder
OlmFolder that represents information about folder in OLM storage.

Return Value

Type: IEnumerableMapiMessage
IEnumerableT, that represents an enumerator that iterates through a messages in folder.
Exceptions
ExceptionCondition
ArgumentNullException throws if folder is null
See Also