OlmStorage.EnumerateMessages

OlmStorage.EnumerateMessages method

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

public IEnumerable<MapiMessage> EnumerateMessages(OlmFolder folder)
ParameterTypeDescription
folderOlmFolderOlmFolder that represents information about folder in OLM storage.

Return Value

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

Exceptions

exceptioncondition
ArgumentNullExceptionthrows if folder is null

See Also