IFile Properties

MCManager API

The IFile type exposes the following members.

Properties

  NameDescription
AbsolutePath
Absolute file/directory path.
CanRead
Read access property, is true if the file is readable.
CanWrite
Write access property, if true if the file is writable.
Config
A merged name/value array of config elements.
CreationDate
Creation date of file/directory.
Exists
File exists property, if true the file/directory exists.
IsDirectory
Is directory property, is true if the file instance is a directory.
IsFile
Is file property, is true if the file instance is a file.
LastModified
Last modification date of file/directory.
Length
File size in bytes of file.
Name
File/directory name.
Parent
Absolute path of parent directory.
ParentFile
IFile of parent directory.
TriggerEvents
State if file action events should be fired or not.

See Also