NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

CompareInfo Class

[To be supplied.]

Object
   CompareInfo

[Visual Basic]
Public Class CompareInfo
[C#]
public class CompareInfo
[C++]
public __gc class CompareInfo
[JScript]
public class CompareInfo

Remarks

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.

Requirements

Namespace: System.Globalization

Assembly: mscorlib.dll

See Also

CompareInfo Members | System.Globalization Namespace