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!

IComparer Interface

Exposes a method that compares two objects.

IComparer

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

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

Classes that Implement IComparer

Class Description
CaseInsensitiveComparer [To be supplied.]
Comparer Provides the default implementation for the IComparer interface, including the method CompareTo, which compares two objects for equivalence.
ComponentModelPersister.LocalCache.LocalCacheItemComparer [To be supplied.]
KeysConverter KeysConverter is a class that can be used to convert Key objects from one data type to another. Access this class through the TypeDescriptor.

Remarks

This interface is used in conjunction with the Sort and BinarySearch methods in the Array class. The default implementation of this interface is the Comparer class.

Requirements

Namespace: System.Collections

Assembly: mscorlib.dll

See Also

IComparer Members | System.Collections Namespace | Comparer