This documentation is archived and is not being maintained.
StringComparer Methods
Visual Studio 2010
The StringComparer type exposes the following members.
| 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 it 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.) |
Show: