NDepend.API Documentation
TryGetChildDirectoryWithName Method (IDirectoryPath)
NDepend.Path Namespace > IDirectoryPath Interface : TryGetChildDirectoryWithName Method
The child 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 TryGetChildDirectoryWithName( 
   string directoryName,
   out IDirectoryPath directoryPath,
   out string failureReason
)

Parameters

directoryName
The child 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