Extensions of
DirectoryInfo
.- Namespace
- Songhay
.Extensions - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["DirectoryInfoExtensions"]
class Type type-node
Syntax
public static class DirectoryInfoExtensions
Methods
Name | Return Value | Summary |
---|---|---|
FindDirectory |
DirectoryInfo? |
Finds the specified target
DirectoryInfo
under the specified root DirectoryInfo .
static
|
FindFile |
FileInfo? |
Finds the specified
FileInfo
under the specified DirectoryInfo .
static
|
GetParentDirectory |
string |
Gets the parent directory.
static
|
Get |
DirectoryInfo? |
Gets the parent
DirectoryInfo .static
|
ToCombinedPath |
string |
Combines path and root based
on the current value of
Path.DirectorySeparatorChar
of the current OS or passes through a drive-letter rooted path.static
|
VerifyDirectory |
void |
Verifies the specified
DirectoryInfo
with conventional error handling.
static
|