public Class
A File represents an associated file for an element. It is accessed through the Element Files collection.
Associated table in .EAP file: t_objectfiles
File Attributes
Attribute  | 
Type  | 
Notes  | 
Name  | 
String  | 
Read/Write. The file name can be a logical file or a reference to a web address (using http://)  | 
Type  | 
String  | 
Read/Write. File type.  | 
Notes  | 
String  | 
Read/Write. Notes about the file.  | 
Size  | 
String  | 
Read/Write. The file size.  | 
FileDate  | 
String  | 
Read/Write. The file date when entry is created.  | 
ObjectType  | 
Read only. Distinguishes objects referenced through a Dispatch interface.  | 
File Methods
Method  | 
Type  | 
Notes  | 
Update ()  | 
Boolean  | 
Update the current File object after modification or appending a new item. If false is returned, check the GetLastError function for more information.  | 
GetLastError ()  | 
String  | 
Returns a string value describing the most recent error that occurred in relation to this object. This function is rarely used since an exception is thrown when an error occurs.  | 


