Attachment Class |
Namespace: Aspose.Email
The Attachment type exposes the following members.
| Name | Description | |
|---|---|---|
| Attachment(String) |
Initializes a new instance of the Attachment class.
| |
| Attachment(Stream, ContentType) |
Initializes a new instance of the Attachment class.
| |
| Attachment(Stream, String) |
Initializes a new instance of the Attachment class.
| |
| Attachment(String, ContentType) |
Initializes a new instance of the Attachment class.
| |
| Attachment(String, String) |
Initializes a new instance of the Attachment class.
| |
| Attachment(Stream, String, String) |
Initializes a new instance of the Attachment class.
| |
| Attachment(Uri, String, String) |
Initializes a new instance of the Attachment class.
|
| Name | Description | |
|---|---|---|
| ContentDisposition |
Gets Content-Disposition header
| |
| ContentId |
Gets or sets the content id.
(Inherited from AttachmentBase.) | |
| ContentStream |
Gets or sets the content stream.
(Inherited from AttachmentBase.) | |
| ContentType |
Gets or sets the type of the content.
(Inherited from AttachmentBase.) | |
| Headers |
Gets headers collection of attachment.
(Inherited from AttachmentBase.) | |
| IsEmbeddedMessage | ||
| IsUri |
Gets a value indicating whether attachment is URI-attachment.
| |
| Name |
Gets or sets an attachment name
| |
| NameEncoding |
Gets or sets an encoding of attachment name
| |
| PreferredTextEncoding |
Gets or sets a preferred text encoding
| |
| TransferEncoding |
Gets or sets the transfer encoding.
(Inherited from AttachmentBase.) |
| Name | Description | |
|---|---|---|
| CreateAttachmentFromString(String, ContentType) |
Creates the attachment from string.
| |
| CreateAttachmentFromString(String, String) |
Creates the attachment from string.
| |
| CreateAttachmentFromString(String, String, Encoding, String) |
Creates the attachment from string.
| |
| Dispose |
Performs application-defined tasks associated with freeing,
releasing, or resetting unmanaged resources.
(Inherited from AttachmentBase.) | |
| Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
(Inherited from AttachmentBase.) | |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GenerateContentId |
Generates the content id value.
(Overrides AttachmentBaseGenerateContentId.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| Save(Stream) |
Saves the specified stream.
(Inherited from AttachmentBase.) | |
| Save(String) |
Saves the specified file name.
(Inherited from AttachmentBase.) | |
| SetContentFromString |
Sets the content from string.
(Inherited from AttachmentBase.) | |
| ToString | (Inherited from Object.) |