IAttachment3 Interface Members
Public Methods
Public Method Load Downloads an attachment file to a client machine.
Public Method LockObject Locks the object. Returns True if the object has been changed on the server.
Public Method Post Posts all changed values into database.
Public Method Refresh Reads saved values, overwriting values in memory.
Public Method Rename Renames the attachment on the server. The attachment must be uploaded before calling this method.
Public Method Save Uploads a file to the server.
Public Method Undo Undoes changes to field values that have not been posted.
Public Method UnLockObject Unlocks the object.
Public Properties
Public Property AttachmentStorage Deprecated. The ExtendedStorage object of this attachment. Applies only to file attachments.
Public Property AutoPost If true, the database is updated immediately when the field value changes.
Public Property Data If the attachment is a file, an array of bytes. If a reference to file, the path or URL.
Public Property Description The attachment description.
Public Property DirectLink The link or the attachment file name on the server machine.
Public Property Field The value of the specified field.
Public Property FileName If a file, the file location. If a virtual file, the location for the attachment before it is uploaded to the server. If a URL, the link address.
Public Property FileSize Obsolete.Use IAttachment3 FileSizeEx instead. The attachment file size in bytes.
Public Property FileSizeEx The attachment file size in bytes.
Public Property ID The item ID.
Public Property IsLocked Checks if object is locked for editing.
Public Property LastModified The last modified time.
Public Property Modified Checks if the item has been modified since last refresh or post operation. If true, the field properties on the server side are not up to date.
Public Property Name The attachment name.
Public Property ServerFileName The path to the attachment on the server machine.
Public Property Type The attachment type. Either File or URL.
Public Property Virtual Checks if this is a virtual item, that is, an item that does not have a corresponding database record.
See Also