Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Topic
Prev Next

File Class

A File represents an associated file for an element. Files are accessed through the Element Files collection.

Associated table in .EAP file

t_objectfiles

File Attributes

Attribute

Remarks

See also

FileDate

String

Notes: Read/Write

The file date when the entry was created.

Name

String

Notes: Read/Write

The file name can be a logical file or a reference to a web address (using http://).

Notes

String

Notes: Read/Write

Notes about the file.

ObjectType

ObjectType

Notes: Read only

Distinguishes objects referenced through a Dispatch interface.

ObjectType

Size

String

Notes: Read/Write

The file size.

Type

String

Notes: Read/Write

The file type.

File Methods

Method

Remarks

See also

GetLastError()

String

Notes: Returns a string value describing the most recent error that occurred in relation to this object.

Update()

Boolean

Notes: Updates the current File object after modification or appending a new item.

If False is returned, check the 'GetLastError()' function for more information.