Click or drag to resize

Attachments Class

Attachment is used to upload and download attachments.

To Upload:

Copy the file to local folder.Create an AttachmentItem giving the local folder path and other required info. Now save in database and framework will take care of uploading this attachment.

To Download:

Queue the AttachmentItem for download . Now framework will take care of downloading this attachment.

Inheritance Hierarchy
SystemObject
  Unvired.Kernel.UWP.AttachmentAttachments

Namespace:  Unvired.Kernel.UWP.Attachment
Assembly:  Unvired.Kernel.UWP (in Unvired.Kernel.UWP.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Attachments

The Attachments type exposes the following members.

Constructors
  NameDescription
Public methodAttachments
Initializes a new instance of the Attachments class
Top
Methods
  NameDescription
Public methodStatic memberCopyFileToLocalFolder
Copy file to Application local folder. Here files could be from local system or camera captured.
Public methodStatic memberDeleteAttachment
Deletes the attachment item from AttachmentItem table.Also delete the file from local folder.
Public methodStatic memberDeleteFile
Delete files from application local folder
Public methodStatic memberDownloadAttachmentInForeground
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodStatic memberIsAttachmentItemInDownloadQueue
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberQueueForDownload
Queue attachment item for downloading.
Public methodToString (Inherited from Object.)
Public methodStatic memberUploadAttachment
Top
See Also