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!

IComparable Interface

Provides functionality to compare objects and to sort arrays and collections.

IComparable

[Visual Basic]
Public Interface IComparable
[C#]
public interface IComparable
[C++]
public __gc __interface IComparable

[JScript] In JScript, you can use the interfaces in the NGWS frameworks, but you cannot define your own.

Classes that Implement IComparable

Class Description
Enum Provides the base class for enumerations.
String Represents a static string of characters.
Version Represents the version number for a NGWS runtime assembly.

Remarks

Classes which can be set in a ranking order, such as the base data types, support IComparable.

Requirements

Namespace: System

Assembly: mscorlib.dll

See Also

IComparable Members | System Namespace