IOUtilitiesPathIsChildOrEqual Method |
Tests if a path is a child of or equal to another path.
Namespace:
ShellBoost.Core.Utilities
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public static bool PathIsChildOrEqual(
string path,
string child,
bool normalize = true
)
Parameters
- path
- Type: SystemString
The path. - child
- Type: SystemString
The possible child. - normalize (Optional)
- Type: SystemBoolean
if set to true paths will be normalized first.
Return Value
Type:
Booleantrue if child is a child of path,
false otherwise.
Exceptions See Also