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

Parameters

directoryName
The brother directory name.
directoryPath
The directory 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