Click or drag to resize

IOUtilitiesPathIsChild Method (String, String, Boolean, String)

Tests if a path is a child of another path.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static bool PathIsChild(
	string path,
	string child,
	bool normalize,
	out string subPath
)

Parameters

path
Type: SystemString
The path.
child
Type: SystemString
The possible child.
normalize
Type: SystemBoolean
if set to true paths will be normalized first.
subPath
Type: SystemString
The sub path.

Return Value

Type: Boolean
true if child is a child of path, false otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null or child is null.
See Also