Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CompareInfo.Compare Method

Compares two strings and returns an integer that indicates their relationship to one another in the 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 Supported by Silverlight for Windows Phone Supported by Xbox 360 Compare(String, String) Compares two strings and returns an integer that indicates their relationship to one another in the sort order.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Compare(String, String, CompareOptions) Compares two strings using the specified CompareOptions value and returns an integer that indicates their relationship to one another in the sort order.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Compare(String, Int32, String, Int32) Compares the end section of a string with the end section of another string and returns an integer that indicates their relationship to one another in the sort order.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Compare(String, Int32, String, Int32, CompareOptions) Compares the end section of a string with the end section of another string using the specified CompareOptions value and returns an integer that indicates their relationship to one another in the sort order.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Compare(String, Int32, Int32, String, Int32, Int32) Compares a section of one string with a section of another string and returns an integer that indicates their relationship to one another in the sort order.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Compare(String, Int32, Int32, String, Int32, Int32, CompareOptions) Compares a section of one string with a section of another string using the specified CompareOptions value and returns an integer that indicates their relationship to one another in the sort order.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.