IDirectoryPath ParentDirectoryPath {get;}
IDirectoryPath ParentDirectoryPath {get;}
Exception | Description |
---|---|
System.InvalidOperationException | This path doesn't have a parent directory path. Root directories representing a drive, like C: or D: don't have a parent directory path. Relative path like ".\" or "..\" don't have a parent directory path. Notice that a file path necessarily has a parent directory path. |
Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed