[To be supplied.]
Object
CompareInfo
[Visual Basic] Public Class CompareInfo [C#] public class CompareInfo [C++] public __gc class CompareInfo [JScript] public class CompareInfo
To implement this, [RB2] you need to use the CultureInfo class to get the CompareInfo object. You can use the String class indirectly to get the default CompareInfo object. The String class uses CompareInfo to compare the region of two strings.
In order to compare two strings based on their appropriate culture identification, the CompareInfo takes a sort culture ID for the instance[RB3] . You can get the sort culture ID from the ISortOrder interface.
Namespace: System.Globalization
Assembly: mscorlib.dll