StringComparer.Compare Method

Compares two objects or strings and returns an indication of their relative sort order.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Compare(Object, Object) When overridden in a derived class, compares two objects and returns an indication of their relative sort order.
Public method Compare(String, String) When overridden in a derived class, compares two strings and returns an indication of their relative sort order.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft