NDepend.API Documentation
ParentDirectoryPath Property (IPath)
NDepend.Path Namespace > IPath Interface : ParentDirectoryPath Property
Returns the parent directory path.
Syntax
IDirectoryPath ParentDirectoryPath {get;}
Exceptions
ExceptionDescription
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.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IPath Interface
IPath Members