[This is preliminary documentation and is subject to change.]
The AttachmentItem type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| AttachmentItem | Initializes a new instance of the AttachmentItem class |
Fields
| Name | Description | |
|---|---|---|
| AbsolutePath |
This is the path to the file on disk.
This is only populated if the StorageType of the attachment is "Linked"
| |
| DisplayFileName |
The name of the file added minus the extension (for display purposes)
| |
| FileSize |
The size of the file to be moved/embedded in bytes.
Can be used to warn the user when the attachment is too large.
| |
| IsIndex |
Indicates whether this item is the file/Url that should be shown when the user chooses to launch the Attachment.
Therefore only one AttachmentItem per Attachment is ever marked as the index file.
| |
| ModifiedDate |
Shows the last time the file was modified.
Can be used to optimise fetching of attachments
| |
| RelativePath |
Used when a folder hierachy of files is added to the attachment item.
If a collection of attachment items is related you have to reproduce
the original folder structure in a temporary download location following file retrieval.
|