Click or drag to resize

IOUtilitiesPathIsEqual Method

Tests if two paths are equal.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static bool PathIsEqual(
	string path1,
	string path2,
	bool normalize = true
)

Parameters

path1
Type: SystemString
The first path.
path2
Type: SystemString
The second path.
normalize (Optional)
Type: SystemBoolean
if set to true paths will be normalized first.

Return Value

Type: Boolean
true if the two paths are equal, false otherwise.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath1 is null or path2 is null.
See Also