EnumerateMessages

OlmStorage.EnumerateMessages method

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

public IEnumerable<MapiMessage> EnumerateMessages(OlmFolder folder)
Parameter Type Description
folder OlmFolder OlmFolder that represents information about folder in OLM storage.

Return Value

IEnumerable, that represents an enumerator that iterates through a messages in folder.

Exceptions

exception condition
ArgumentNullException throws if folder is null

See Also