NDepend.API Documentation
GetBrotherDirectoryWithName Method (IFilePath)
NDepend.Path Namespace > IFilePath Interface : GetBrotherDirectoryWithName Method
The brother directory name.
Returns a new directory path representing a directory with name directoryName, located in the same directory as this file.
Syntax
IDirectoryPath GetBrotherDirectoryWithName( 
   string directoryName
)

Parameters

directoryName
The brother directory name.
Remarks
This file nor the returned directory need to exist for this operation to complete properly.
Requirements

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

See Also

Reference

IFilePath Interface
IFilePath Members