Directory MembersKentico 8.0 API Reference
The Directory type exposes the following members.
Constructors

  NameDescription
Public methodDirectory
Back to Top
Methods

  NameDescription
Public methodCreateDirectory
Creates all directories and subdirectories as specified by path.
(Overrides AbstractDirectory CreateDirectory(String).)
Public methodDelete(String)
Deletes an empty directory.
(Overrides AbstractDirectory Delete(String).)
Public methodDelete(String, Boolean)
Deletes an empty directory and, if indicated, any subdirectories and files in the directory.
(Overrides AbstractDirectory Delete(String, Boolean).)
Public methodDeleteDirectoryStructure
Deletes all files in the directory structure. It works also in a shared hosting environment.
(Overrides AbstractDirectory DeleteDirectoryStructure(String).)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Public methodExists
Determines whether the given path refers to an existing directory on disk.
(Overrides AbstractDirectory Exists(String).)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodGetAccessControl
Gets a DirectorySecurity object that encapsulates the access control list (ACL) entries for a specified directory.
(Overrides AbstractDirectory GetAccessControl(String).)
Public methodGetCurrentDirectory
Gets the current working directory of the application.
(Overrides AbstractDirectory GetCurrentDirectory .)
Public methodGetDirectories(String)
Gets the names of subdirectories in the specified directory.
(Overrides AbstractDirectory GetDirectories(String).)
Public methodGetDirectories(String, String)
Returns the names of files (including their paths) in the specified directory.
(Overrides AbstractDirectory GetDirectories(String, String).)
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.
(Overrides AbstractDirectory GetDirectories(String, String, SearchOption).)
Public methodGetFiles(String)
Returns the names of files (including their paths) in the specified directory.
(Overrides AbstractDirectory GetFiles(String).)
Public methodGetFiles(String, String)
Returns the names of files (including their paths) in the specified directory.
(Overrides AbstractDirectory GetFiles(String, String).)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodMove
Moves a file or a directory and its contents to a new location.
(Overrides AbstractDirectory Move(String, String).)
Public methodPrepareFilesForImport
Prepares files for import. Converts them to media library.
(Overrides AbstractDirectory PrepareFilesForImport(String).)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
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.)
Back to Top
See Also