StringComparer Methods

The StringComparer type exposes the following members.

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Compare(Object, Object) When overridden in a derived class, compares two objects and returns an indication of their relative sort order.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Compare(String, String) When overridden in a derived class, compares two strings and returns an indication of their relative sort order.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Create Creates a StringComparer object that compares strings according to the rules of a specified culture.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Equals(Object, Object) When overridden in a derived class, indicates whether two objects are equal.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Equals(String, String) When overridden in a derived class, indicates whether two strings are equal.
Protected method Supported by Silverlight for Windows Phone Supported by Xbox 360 Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetHashCode() Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetHashCode(Object) When overridden in a derived class, gets the hash code for the specified object.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetHashCode(String) When overridden in a derived class, gets the hash code for the specified string.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show: