StringComparer Methods

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The StringComparer type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows PhoneSupported 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 methodSupported by Silverlight for Windows PhoneSupported 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 methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 Create Creates a StringComparer object that compares strings according to the rules of a specified culture.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals(Object, Object) When overridden in a derived class, indicates whether two objects are equal.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 Equals(String, String) When overridden in a derived class, indicates whether two strings are equal.
Protected methodSupported by Silverlight for Windows PhoneSupported 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 methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetHashCode() Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetHashCode(Object) When overridden in a derived class, gets the hash code for the specified object.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetHashCode(String) When overridden in a derived class, gets the hash code for the specified string.
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Protected methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString Returns a string that represents the current object. (Inherited from Object.)

Top