Click or drag to resize

FileSystem Methods

The FileSystem type exposes the following members.

Methods
  NameDescription
Public methodCollectFileInformation
Refreshes the list of directories and files.
Public methodCopy
Copies a file or directory from one location to another.
Public methodCreateDirectory
Creates a new directory in the current directory.
Public methodDelete
Deletes a file or directory from the current directory.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFormatMedia
Removes all files and folders from the file system.
Public methodGetClose
Frees an internal context which is generated by calling GetFirstFile().
Public methodGetEnumerator
Returns an enumerator that iterates through the ReadOnlyCollectionBase instance.
(Inherited from ReadOnlyCollectionBase.)
Public methodGetFirstFile
Finds the first file in the current directory and returns information about it.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNextFile
Finds the next file in the current directory and returns information about it.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRename
Renames a file or directory.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also