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

Parameters

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

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

See Also

Reference

IFilePath Interface
IFilePath Members