Click or drag to resize

ShellUtilitiesShellStringCompare Method

Compares two strings. This test is not case-sensitive. Depending on machine's configuration, the comparison can be using the StrCmpLogicalW (the default) or the StrCmpI native function.

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public static int ShellStringCompare(
	string string1,
	string string2
)

Parameters

string1
Type: SystemString
The first string.
string2
Type: SystemString
The second string.

Return Value

Type: Int32
Zero if the strings are identical, 1 if the first string has a greater value than the second string, -1 if the first string has a lesser value than the second string.
See Also