## FolderInfo.EnumerateMessageObjects method

Enumerates the messages of the folder as [`MessageObject`](../../../aspose.email.mapi.msg/messageobject/) objects.

```csharp
public IEnumerable<MessageObject> EnumerateMessageObjects()
```

### Return Value

The messages. They are read from the file as the sequence is enumerated.

### See Also

* class [MessageObject](../../../aspose.email.mapi.msg/messageobject/)
* class [FolderInfo](../)
* namespace [Aspose.Email.Storage.Pst](../../folderinfo/)
* assembly [Aspose.Email](../../../)


