Click or drag to resize
DirectoryInfo Methods

The DirectoryInfo type exposes the following members.

Methods
  NameDescription
Public methodCreate
Creates a directory.
Public methodCreate(DirectorySecurity)
Creates a directory using a DirectorySecurity object.
Public methodDelete
Deletes a file or directory.
(Inherited from FileSystemInfo.)
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRefresh
Refreshes the state of the object.
(Inherited from FileSystemInfo.)
Public methodToString
Returns the original path that was passed by the user.
(Overrides ObjectToString.)
Top
See Also