NDepend.API Documentation
DirectoryName Property
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, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

IDirectoryPath Interface
IDirectoryPath Members