NDepend.API Documentation
IsChildOf Method
NDepend.Path Namespace > IPath Interface : IsChildOf Method
The parent directory.
Gets a value indicating whether this path is a child path of parentDirectory.
Syntax

Parameters

parentDirectory
The parent directory.

Return Value

true of this directory is a child directory of parentDirectory, else false.
Remarks
This path resource nor parentDirectory need to exist for this operation to complete properly.
Requirements

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

See Also

Reference

IPath Interface
IPath Members