NDepend.API Documentation
DirectoryName Property (IDirectoryPath)
NDepend.Path Namespace > IDirectoryPath Interface : DirectoryName Property
Gets a string representing the directory name.
Syntax
string DirectoryName {get;}

Property Value

The directory name.
Remarks
If the directory is a root volume, like "C:", returns an empty string.
Requirements

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

See Also

Reference

IDirectoryPath Interface
IDirectoryPath Members