Compares two sort keys.
[Visual Basic] Public Shared Function Compare( _ ByVal sortkey1 As SortKey, _ ByVal sortkey2 As SortKey _ ) As Integer [C#] public static int Compare( SortKey sortkey1, SortKey sortkey2 ); [C++] public: static int Compare( SortKey* sortkey1, SortKey* sortkey2 ); [JScript] public static function Compare( sortkey1 : SortKey, sortkey2 : SortKey ) : int;
Value | Condition |
---|---|
0 | The two sort keys are equal. |
Less than 0 | sortkey1 is less thansortkey2. |
Greater than 0 | sortkey1 is greater thansortkey2. |
[To be supplied.]
SortKey Class | SortKey Members | System.Globalization Namespace