Click or drag to resize
AbstractDirectory Methods

The AbstractDirectory type exposes the following members.

Methods
  NameDescription
Public methodCreateDirectory
Creates all directories and subdirectories as specified by path.
Public methodDelete(String)
Deletes an empty directory.
Public methodDelete(String, Boolean)
Deletes an empty directory and, if indicated, any subdirectories and files in the directory.
Public methodDeleteDirectoryStructure
Deletes all files in the directory structure. It works also in a shared hosting environment.
Public methodExists
Determines whether the given path refers to an existing directory on disk.
Public methodGetAccessControl
Gets a DirectorySecurity object that encapsulates the access control list (ACL) entries for a specified directory.
Public methodGetCurrentDirectory
Gets the current working directory of the application.
Public methodGetDirectories(String)
Gets the names of subdirectories in the specified directory.
Public methodGetDirectories(String, String)
Returns the names of files (including their paths) in the specified directory.
Public methodGetDirectories(String, String, SearchOption)
Gets the names of the subdirectories (including their paths) that match the specified search pattern in the current directory, and optionally searches subdirectories.
Public methodGetFiles(String)
Returns the names of files (including their paths) in the specified directory.
Public methodGetFiles(String, String)
Returns the names of files (including their paths) in the specified directory.
Public methodMove
Moves a file or a directory and its contents to a new location.
Public methodPrepareFilesForImport
Prepares files for import. Converts them to media library.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also