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 | |
---|---|---|
Compare(Object, Object) | When overridden in a derived class, compares two objects and returns an indication of their relative sort order. | |
Compare(String, String) | When overridden in a derived class, compares two strings and returns an indication of their relative sort order. | |
Create | Creates a StringComparer object that compares strings according to the rules of a specified culture. | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Equals(Object, Object) | When overridden in a derived class, indicates whether two objects are equal. | |
Equals(String, String) | When overridden in a derived class, indicates whether two strings are equal. | |
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.) | |
GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetHashCode(Object) | When overridden in a derived class, gets the hash code for the specified object. | |
GetHashCode(String) | When overridden in a derived class, gets the hash code for the specified string. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top