StringComparer Properties

StringComparer Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The StringComparer type exposes the following members.

  NameDescription
Public property Static member CurrentCulture Gets a StringComparer object that performs a case-sensitive string comparison using the word comparison rules of the current culture.
Public property Static member CurrentCultureIgnoreCase Gets a StringComparer object that performs case-insensitive string comparisons using the word comparison rules of the current culture.
Public property Static member InvariantCulture Gets a StringComparer object that performs a case-sensitive string comparison using the word comparison rules of the invariant culture.
Public property Static member InvariantCultureIgnoreCase Gets a StringComparer object that performs a case-insensitive string comparison using the word comparison rules of the invariant culture.
Public property Static member Ordinal Gets a StringComparer object that performs a case-sensitive ordinal string comparison.
Public property Static member OrdinalIgnoreCase Gets a StringComparer object that performs a case-insensitive ordinal string comparison.
Top

Show:
© 2017 Microsoft