This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
CompareInfo Methods
The methods of the CompareInfo class are listed below. For a complete list of CompareInfo class members, see the CompareInfo Members topic.
Public:
Compare |
Overloaded. Compares two specified strings with or without specified flags. |
Equals |
Checks whether the object refers to the same CompareInfo as the current instance. |
GetCompareInfo |
Overloaded. [To be supplied.] |
GetHashCode |
Gets the hash code for the instance of CompareInfo. |
GetSortKey |
Overloaded. Gets the sort key for the specified string. |
GetType (inherited from Object) |
Gets the Type of the Object. |
IndexOf |
Overloaded. [To be supplied.] |
IsPrefix |
Overloaded. Determines whether the specified prefix is a prefix of the specified string. |
IsSuffix |
Overloaded. Determines whether the specified suffix is the string's suffix. |
LastIndexOf |
Overloaded. Returns the last index of the specified character in the string. |
ToString |
Returns a string describing the current instance of CompareInfo. |
Protected:
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
CompareInfo Class | System.Globalization Namespace