Bridge

String..::..LocaleCompare Method (String)

The localeCompare() method returns a number indicating whether a reference string comes before or after or is the same as the given string in sort order. The new locales and options arguments let applications specify the language whose sort order should be used and customize the behavior of the function. In older implementations, which ignore the locales and options arguments, the locale and sort order used are entirely implementation dependent.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


public int LocaleCompare(
	string compareString
)
Public Function LocaleCompare ( _
	compareString As String _
) As Integer
public:
int^ LocaleCompare(
	String^ compareString
)

Parameters

compareString
Type: System..::..String
The string against which the referring string is comparing

Return Value