Attachment
Leave feedback
On this page
Represents attachment file contained by email message, archive, PDF document or Outlook data file.
public class Attachment
| Name | Description |
|---|---|
| Attachment() | Initializes new instance of Attachment class. |
| Attachment(string, string) | Initializes new instance of Attachment class. |
| Attachment(string, string, string, long) | Initializes new instance of Attachment class. |
| Attachment(string, string, string, FileType, long) | Initializes new instance of Attachment class. |
| Name | Description |
|---|---|
| FileName { get; set; } | Attachment file name. |
| FilePath { get; set; } | Attachment relative path e.g. folder/file.docx or filename when the file is located in the root of an archive, in e-mail message or data file. |
| FileType { get; set; } | Attachment file type. |
| Id { get; set; } | Unique identifier of the attachment in context of a single file that contains this attachment. |
| Size { get; set; } | Attachment file size in bytes. |
| Name | Description |
|---|---|
| override ToString() | Returns a string that represents the current object. |
- namespace GroupDocs.Viewer.Results
- assembly GroupDocs.Viewer
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.