Méthode | Description | |
---|---|---|
Create ( |
Creates the specified directory. Note: Unlike System.IO.Directory.CreateDirectory(System.String), this method only creates the last directory in path. |
|
Delete ( |
Deletes the specified empty directory.
|
|
Delete ( |
Deletes files from the given path.
|
|
EnumerateDirectories ( |
Returns a enumerable containing the directory names of the specified directory.
|
|
EnumerateDirectories ( |
Returns a enumerable containing the directory names of the specified directory that match the specified search pattern.
|
|
EnumerateFileSystemEntries ( |
Returns a enumerable containing the file and directory names of the specified directory.
|
|
EnumerateFileSystemEntries ( |
Returns a enumerable containing the file and directory names of the specified directory that match the specified search pattern.
|
|
EnumerateFiles ( |
Returns a enumerable containing the file names of the specified directory.
|
|
EnumerateFiles ( |
Returns a enumerable containing the file names of the specified directory that match the specified search pattern.
|
|
Exists ( |
Returns a value indicating whether the specified path refers to an existing directory. Note that this method will return false if any error occurs while trying to determine if the specified directory exists. This includes situations that would normally result in thrown exceptions including (but not limited to); passing in a directory name with invalid or too many characters, an I/O error such as a failing or missing disk, or if the caller does not have Windows or Code Access Security (CAS) permissions to to read the directory. |
|
Move ( |
Méthode | Description | |
---|---|---|
BeginFind ( string normalizedPathWithSearchPattern, |
||
EnumerateFileSystemEntries ( |
||
EnumerateFileSystemIterator ( string normalizedPath, string normalizedSearchPattern, bool includeDirectories, bool includeFiles ) : IEnumerable |
||
IsCurrentOrParentDirectory ( string directoryName ) : bool | ||
IsDirectory ( FileAttributes attributes ) : bool |
public static Create ( |
||
path |
/// A |
|
Résultat | void |
public static Delete ( |
||
path |
/// A |
|
Résultat | void |
public static Delete ( |
||
path | The path to delete files from. | |
recursively | bool | Whether to recurse through the directory and find all child directories and files /// and delete those |
Résultat | void |
public static EnumerateDirectories ( |
||
path |
/// A |
|
Résultat | IEnumerable |
public static EnumerateDirectories ( |
||
path |
/// A |
|
searchPattern | string |
/// A |
Résultat | IEnumerable |
public static EnumerateFileSystemEntries ( |
||
path |
/// A |
|
Résultat | IEnumerable |
public static EnumerateFileSystemEntries ( |
||
path |
/// A |
|
searchPattern | string |
/// A |
Résultat | IEnumerable |
public static EnumerateFiles ( |
||
path |
/// A |
|
Résultat | IEnumerable |
public static EnumerateFiles ( |
||
path |
/// A |
|
searchPattern | string |
/// A |
Résultat | IEnumerable |
public static Exists ( |
||
path |
/// A |
|
Résultat | bool |
public static Move ( |
||
sourcePath | ||
targetPath | ||
Résultat | void |