Implements a set of methods for culture-sensitive string comparisons.
The CompareInfo type exposes the following members.
|Compare||Overloaded. Compares two strings.|
|Equals||Determines whether the specified object is equal to the current CompareInfo object. (Overrides Object.Equals(Object).)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetCompareInfo||Overloaded. Initializes a new CompareInfo object.|
|GetHashCode||Serves as a hash function for the current CompareInfo for hashing algorithms and data structures, such as a hash table. (Overrides Object.GetHashCode().)|
|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.|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a string that represents the current CompareInfo. (Overrides Object.ToString().)|