## OlmFolder class

Represents folder information in OLM storage.

```csharp
public class OlmFolder
```

## Properties

| Name | Description |
| --- | --- |
| [HasMessages](../../aspose.email.storage.olm/olmfolder/hasmessages/) { get; } | Gets a value indicating whether the current folder has messages. |
| [MessageCount](../../aspose.email.storage.olm/olmfolder/messagecount/) { get; } | Gets the message count. |
| [Name](../../aspose.email.storage.olm/olmfolder/name/) { get; } | Gets the folder name. |
| [Path](../../aspose.email.storage.olm/olmfolder/path/) { get; } | Gets the path. |
| [SubFolders](../../aspose.email.storage.olm/olmfolder/subfolders/) { get; } | Gets the list of sub-folders. |

## Methods

| Name | Description |
| --- | --- |
| [EnumerateMapiMessages](../../aspose.email.storage.olm/olmfolder/enumeratemapimessages/)() | Exposes the enumerator, which supports an iteration of messages in folder. |
| [EnumerateMessages](../../aspose.email.storage.olm/olmfolder/enumeratemessages/#enumeratemessages)() | Exposes the enumerator, which supports an iteration of messages in folder. |
| [EnumerateMessages](../../aspose.email.storage.olm/olmfolder/enumeratemessages/#enumeratemessages_1)(MailQuery) | Exposes the enumerator, which supports an iteration of messages in folder. |
| [EnumerateMessages](../../aspose.email.storage.olm/olmfolder/enumeratemessages/#enumeratemessages_2)(int, int) | Exposes the enumerator, which supports an iteration of messages in folder. |
| [GetSubFolder](../../aspose.email.storage.olm/olmfolder/getsubfolder/)(string, bool) | Gets the subfolder by name. |
| override [ToString](../../aspose.email.storage.olm/olmfolder/tostring/)() | Returns a String that represents this instance. |

### See Also

* namespace [Aspose.Email.Storage.Olm](../../aspose.email.storage.olm/)
* assembly [Aspose.Email](../../)


