BaseFile Members

MCManager API

The BaseFile type exposes the following members.

Constructors

  NameDescription
BaseFileOverloaded.

Methods

  NameDescription
CopyTo
DeleteOverloaded.
DispatchBeforeFileActionOverloaded.
DispatchFileActionOverloaded.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExportFile
Exports the file to the local file system.
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
ImportFile
Imports a local file to the file system, for example when users upload files.
ListFiles
List files in the specified directory.
ListFilesFiltered
List files by the specified filter.
ListTree
Lists a tree of files within a directory.
ListTreeFiltered
Lists a tree of tiles within a directory by the specified filter.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
MkDir
Creates a new directory.
Open
RenameTo
Renames/Moves this file to the specified file instance.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

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