
## AttachmentBase class

Base class for mail attachment.

## Constructors

| Name | Description |
| --- | --- |
| [AttachmentBase (8 overloads)](./attachmentbase/) | Initializes a new instance of the AttachmentBase class. |

## Methods

| Name | Description |
| --- | --- |
| [ConvertToMapiAttachment](./converttomapiattachment/) | Implemented in Aspose::Email::ReferenceAttachment , Aspose::Email::LinkedResource , Aspose::Email::Attachment , and Aspose::Email::AlternateView . |
| [Dispose (2 overloads)](./dispose/) | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| [get_ContentId](./get_contentid/) | Gets the content id. |
| [get_ContentLocation](./get_contentlocation/) | Gets the content location. |
| [get_ContentStream](./get_contentstream/) | Gets the content stream. |
| [get_ContentType](./get_contenttype/) | Gets the type of the content. |
| [get_Headers](./get_headers/) | Gets headers collection of attachment. |
| [get_Hidden](./get_hidden/) |  |
| [get_ItemId](./get_itemid/) |  |
| [get_MimePart](./get_mimepart/) | Gets the MIME part. |
| [get_TransferEncoding](./get_transferencoding/) | Gets the transfer encoding. |
| [GetEncodingFromContent](./getencodingfromcontent/) | Defines Encoding from content. |
| [PrepareForSending](./prepareforsending/) | Prepares for sending. |
| [Save (2 overloads)](./save/) | Saves the specified stream. |
| [SaveInternal](./saveinternal/) | Saves the specified stream. |
| [set_ContentId](./set_contentid/) | Sets the content id. |
| [set_ContentLocation](./set_contentlocation/) | Sets the content location. |
| [set_ContentStream](./set_contentstream/) | Sets the content stream. |
| [set_ContentType](./set_contenttype/) | Sets the type of the content. |
| [set_Hidden](./set_hidden/) |  |
| [set_ItemId](./set_itemid/) |  |
| [set_MimePart](./set_mimepart/) | Sets the MIME part. |
| [set_TransferEncoding](./set_transferencoding/) | Sets the transfer encoding. |
| [SetContentFromString (3 overloads)](./setcontentfromstring/) | Sets the content from string. |
| [SetSTnefContent](./setstnefcontent/) | Sets the S/TNEF content. |
| [AlternateView](./alternateview/) |  |
| [Attachment](./attachment/) |  |
| [LinkedResource](./linkedresource/) |  |
| [Disposed](./disposed/) | Is disposed. |
| [TnefAttachIndex](./tnefattachindex/) |  |

