Finds the parent
DirectoryInfo
.
- Namespace
- Songhay
- Containing Type
- ProgramFileUtility
Syntax
public static DirectoryInfo? FindParentDirectoryInfo(string path, string parentName, int levels)
Parameters
Name | Type | Description |
---|---|---|
path | string | The path. |
parentName | string | Name of the parent. |
levels | int | The levels. |
Return Value
Type | Description |
---|---|
DirectoryInfo? |