---
Product: Aspose.Email
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/email/net/msg-storage-role
---

# MsgStorageRole

## Overview

`MsgStorageRole` is an enumeration identifying the semantic purpose of a `MsgStorage` node within a `.msg` document. Each constant maps to a well-known MAPI sub-storage naming pattern: `Message` is the root message storage, `Recipient` is a `__recip_version1.0_#XXXXXXXX` storage, `Attachment` is an `__attach_version1.0_#XXXXXXXX` storage, and `EmbeddedMessage` is an attachment whose content is another `.msg` file.

## Members

| Name | Description |
|------|-------------|
| `Generic` | Generic or unrecognized storage role. |
| `Message` | Root message storage containing all MAPI property streams. |
| `Recipient` | Recipient sub-storage (`__recip_version1.0_#XXXXXXXX`). |
| `Attachment` | Attachment sub-storage (`__attach_version1.0_#XXXXXXXX`). |
| `EmbeddedMessage` | Root message storage containing all MAPI property streams. |
| `NamedPropertyMapping` | Named-property-mapping storage (`__nameid_version1.0`). |
| `CustomAttachment` | Attachment sub-storage (`__attach_version1.0_#XXXXXXXX`). |

## See Also
- [Aspose.Email for .NET — Enterprise API Reference](https://reference.aspose.com/email/net/)