NDepend.API Documentation
TryGetBrotherFileWithName Method (IRelativeDirectoryPath)
NDepend.Path Namespace > IRelativeDirectoryPath Interface : TryGetBrotherFileWithName Method
The brother file name.
The file path obtained.
The explanation in case this call returns false.
Returns true if fileName doesn't contain forbidden character in path.
Syntax
bool TryGetBrotherFileWithName( 
   string fileName,
   out IRelativeFilePath filePath,
   out string failureReason
)

Parameters

fileName
The brother file name.
filePath
The file path obtained.
failureReason
The explanation in case this call returns false.
Requirements

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

See Also

Reference

IRelativeDirectoryPath Interface
IRelativeDirectoryPath Members