NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SortKey.Compare

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;

Parameters

sortkey1
The first sort key.
sortkey2
The second sort key.

Return Value

Value Condition
0 The two sort keys are equal.
Less than 0 sortkey1 is less thansortkey2.
Greater than 0 sortkey1 is greater thansortkey2.

Remarks

[To be supplied.]

See Also

SortKey Class | SortKey Members | System.Globalization Namespace