This documentation is archived and is not being maintained.
.NET Framework 2.0
Implements a set of methods for culture-sensitive string comparisons.
The following tables list the members exposed by the CompareInfo type.
(see also Protected Methods )
|Compare||Overloaded. Compares two strings.|
|Equals||Overloaded. Overridden. Determines whether the specified object is equal to the current CompareInfo object.|
|GetCompareInfo||Overloaded. Initializes a new instance of the CompareInfo class.|
|GetHashCode||Overridden. Serves as a hash function for the current CompareInfo for hashing algorithms and data structures, such as a hash table.|
|GetSortKey||Overloaded. Gets a SortKey object for a string.|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|IndexOf||Overloaded. Returns the zero-based index of the first occurrence of a value within a string or within a portion of it.|
|IsPrefix||Overloaded. Determines whether a string starts with a specific prefix.|
|IsSortable||Overloaded. Indicates whether a specified Unicode character or string is sortable.|
|IsSuffix||Overloaded. Determines whether a string ends with a specific suffix.|
|LastIndexOf||Overloaded. Returns the zero-based index of the last occurrence of a value within a string or within a portion of it.|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (Inherited from Object.)|
|ToString||Overridden. Returns a string that represents the current CompareInfo.|
|System.Runtime.Serialization.IDeserializationCallback.OnDeserialization||Runs when the entire object graph has been deserialized.|