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
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.