The ObjectComparer type exposes the following members.

Constructors

  NameDescription
ObjectComparerOverloaded.

Methods

  NameDescription
Compare
Compares two objects and returns a value indicating whether one is less than, equal to or greater than the other.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
Descending
Properties to sort in descending order
Fields
Properties to sort objects by

See Also