שתף באמצעות


ConfigurationKeyComparer.Compare(String, String) Method

Definition

Compares two strings.

public:
 virtual int Compare(System::String ^ x, System::String ^ y);
public int Compare (string? x, string? y);
abstract member Compare : string * string -> int
override this.Compare : string * string -> int
Public Function Compare (x As String, y As String) As Integer

Parameters

x
String

First string.

y
String

Second string.

Returns

Less than 0 if x is less than y, 0 if x is equal to y and greater than 0 if x is greater than y.

Implements

Applies to