Represents a file stored in a file system.
The size of the file, in bytes.
The height of an image file, in pixels.
The width of an image file, in pixels.
A saved direct url to the file, for cloud file system providers.
Date/time that the DirectUrl expires.
URN for the file entity, used by permission types and scopes.
Clear the file selection, leaving the provider and parent folder selection intact.
CopyDatabaseValuesTo (File target)
Data for file items is retrieved from the database, and from the file system. This function "merges" a File object which has been retrieved from the file system with one from the database by copying the fields that are only present in the database (that is, can't be retrieved from the file system).