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

Parameters

fileName
The brother file name
Requirements

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

See Also

Reference

IRelativeFilePath Interface
IRelativeFilePath Members