Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StringComparer::Compare Method

 

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

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodCompare(Object^, Object^)

When overridden in a derived class, compares two objects and returns an indication of their relative sort order.

System_CAPS_pubmethodCompare(String^, String^)

When overridden in a derived class, compares two strings and returns an indication of their relative sort order.

Return to top
Show:
© 2017 Microsoft