M-Files API 22.6.11519.0
ObjectFile Object
Members 
Description
The ObjectFile class represents an object file.
Public Methods
Gets the name of the file in a format that is compatible with file systems, such as NTFS. Characters that are illegal in file-system use are encoded.
Converts the data structure to a JSON string.
Public Properties
The time in UTC when the file was last written to or its attributes were changed.
The time in UTC when the file was originally created.
The extension of the file.
The external repository identifier of the file.
The external repository version identifier of the file.
The file GUID as a string.
File ID and version.
The ID of the file.
The time in UTC when the file was last accessed (e.g., read).
The time in UTC when the file was last written to.
The logical size of the file.
The logical size of the file (uses 32-bit arguments).
The logical size of the file.
The title of the file.
The version number of the file.
True if the physical file content is volatile, meaning that the physical content can change without the version number changing as long as the logical content stays the same.
Remarks

The ObjectFile class provides a simple set of properties for getting information on an object file. Each object in M-Files can have zero or more object files. Single-file objects have only one file each, whereas multi-file objects can contain zero, one or multiple files.

Use the ObjectVersion object to access the files of an object. You can also use the VaultObjectFileOperations interface to access files and perform object file-related operations.

 

 

A file of a multi-file document as seen in the listing area of M-Files Desktop.

See Also

ObjectFile Members