NDepend.API Documentation
GetBrotherFileWithName Method (IVariableDirectoryPath)
NDepend.Path Namespace > IVariableDirectoryPath Interface : GetBrotherFileWithName Method
The brother file name.
Returns a new file path containing variables, representing a file with name fileName, located in the parent's directory of this directory.
Syntax
IVariableFilePath GetBrotherFileWithName( 
   string fileName
)

Parameters

fileName
The brother file name.
Exceptions
ExceptionDescription
This relative directory path doesn't have a parent directory.
Requirements

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

See Also

Reference

IVariableDirectoryPath Interface
IVariableDirectoryPath Members