ConfigurationKeyComparer.Compare(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.