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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.