NDepend.API Documentation
TryGetBrotherDirectoryWithName Method (IDirectoryPath)
NDepend.Path Namespace > IDirectoryPath 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 IDirectoryPath 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

IDirectoryPath Interface
IDirectoryPath Members