Click or drag to resize

IOUtilitiesPathIsEqual Method

Tests if two paths are equal.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.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