Export (0) Print
Expand All

StringComparer Members

Represents a string comparison operation that uses specific case and culture-based or ordinal comparison rules.

The following tables list the members exposed by the StringComparer type.

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework StringComparer Initializes a new instance of the StringComparer class.
Top

  Name Description
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework CurrentCulture Gets a StringComparer object that performs a case-sensitive string comparison using the word comparison rules of the current culture.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework CurrentCultureIgnoreCase Gets a StringComparer object that performs case-insensitive string comparisons using the word comparison rules of the current culture.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework InvariantCulture Gets a StringComparer object that performs a case-sensitive string comparison using the word comparison rules of the invariant culture.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework InvariantCultureIgnoreCase Gets a StringComparer object that performs a case-insensitive string comparison using the word comparison rules of the invariant culture.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework Ordinal Gets a StringComparer object that performs a case-sensitive ordinal string comparison.
Public property Static Supported by the .NET Compact Framework Supported by the XNA Framework OrdinalIgnoreCase Gets a StringComparer object that performs a case-insensitive ordinal string comparison.
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Compare Overloaded. Compares two objects or strings and returns an indication of their relative sort order.
Public method Static Supported by the .NET Compact Framework Supported by the XNA Framework Create Creates a StringComparer object that compares strings according to the rules of a specified culture.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Overloaded. When overridden in a derived class, indicates whether two objects or strings are equal.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Overloaded. When overridden in a derived class, gets the hash code for the current StringComparer object.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft