Click or drag to resize

ProjectedFileSystemDoesNameCompare Method

Compares two file names and returns a value that indicates their relative collation order.

Namespace:  ShellBoost.Core.ProjFS
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static int DoesNameCompare(
	string filePath1,
	string filePath2
)

Parameters

filePath1
Type: SystemString
A string specifying the first name to compare.
filePath2
Type: SystemString
A string specifying the second name to compare.

Return Value

Type: Int32
A negative value indicates fileName1 is before fileName2 in collation order, zero indicates fileName1 is equal to fileName2, a positive value indicates fileName1 is after fileName2 in collation order
See Also