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, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed