mscorlib [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object System.Runtime.Serialization.IDeserializationCallback System.Runtime.InteropServices.ComVisible(true)

The class includes a property that is an instance of this class. uses the information in to compare strings.

provides the method, instead of public constructors, to allow for late-bound access.

To create a object for any culture, you should use the property, or call the method.

## Ignored Search Values

Comparison operations, such as those performed by the or methods, can yield unexpected results if the value to search for is ignored. The search value is ignored if it is an empty string (""), a character or string consisting of characters having code points that are not considered in the operation because of comparison options, or a value with code points that have no linguistic significance. If the search value for the method is an empty string, for example, the return value is zero.

## Security Considerations

If a security decision depends on a string comparison or a case change, you should use the to ensure that the behavior is consistent, regardless of the culture settings of the operating system.

When possible, you should use string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

Implements a set of methods for culture-sensitive string comparisons.

- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` ``

  By default, the comparison is performed by using . If a security decision depends on a string comparison or a case change, you should use the property to ensure that the behavior is consistent regardless of the culture settings of the operating system.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Compares two strings.

  A 32-bit signed integer indicating the lexical relationship between the two comparands.

  Value

  Condition

  zero

  The two strings are equal.

  less than zero

  is less than .

  greater than zero

  is greater than .

  The first string to compare. The second string to compare.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` ``

  If a security decision depends on a string comparison or a case change, you should use the property to ensure that the behavior is consistent regardless of the culture settings of the operating system.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Compares two strings using the specified value.

  A 32-bit signed integer indicating the lexical relationship between the two comparands.

  Value

  Condition

  zero

  The two strings are equal.

  less than zero

  is less than .

  greater than zero

  is greater than .

  The first string to compare. The second string to compare. A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` ``

  If a security decision depends on a string comparison or a case change, you should use the property to ensure that the behavior is consistent regardless of the culture settings of the operating system.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Compares the end section of a string with the end section of another string.

  A 32-bit signed integer indicating the lexical relationship between the two comparands.

  Value

  Condition

  zero

  The two strings are equal.

  less than zero

  The specified section of is less than the specified section of .

  greater than zero

  The specified section of is greater than the specified section of .

  The first string to compare. The zero-based index of the character in at which to start comparing. The second string to compare. The zero-based index of the character in at which to start comparing.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` `` ``

  If a security decision depends on a string comparison or a case change, you should use the property to ensure that the behavior is consistent regardless of the culture settings of the operating system.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Compares the end section of a string with the end section of another string using the specified value.

  A 32-bit signed integer indicating the lexical relationship between the two comparands.

  Value

  Condition

  zero

  The two strings are equal.

  less than zero

  The specified section of is less than the specified section of .

  greater than zero

  The specified section of is greater than the specified section of .

  The first string to compare. The zero-based index of the character in at which to start comparing. The second string to compare. The zero-based index of the character in at which to start comparing. A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` `` `` ``

  If a security decision depends on a string comparison or a case change, you should use the property to ensure that the behavior is consistent regardless of the culture settings of the operating system.

  When possible, you should use string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Compares a section of one string with a section of another string.

  A 32-bit signed integer indicating the lexical relationship between the two comparands.

  Value

  Condition

  zero

  The two strings are equal.

  less than zero

  The specified section of is less than the specified section of .

  greater than zero

  The specified section of is greater than the specified section of .

  The first string to compare. The zero-based index of the character in at which to start comparing. The number of consecutive characters in to compare. The second string to compare. The zero-based index of the character in at which to start comparing. The number of consecutive characters in to compare.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` `` `` `` ``

  If a security decision depends on a string comparison or a case change, you should use the property to ensure that the behavior is consistent regardless of the culture settings of the operating system.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Compares a section of one string with a section of another string using the specified value.

  A 32-bit signed integer indicating the lexical relationship between the two comparands.

  Value

  Condition

  zero

  The two strings are equal.

  less than zero

  The specified section of is less than the specified section of .

  greater than zero

  The specified section of is greater than the specified section of .

  The first string to compare. The zero-based index of the character in at which to start comparing. The number of consecutive characters in to compare. The second string to compare. The zero-based index of the character in at which to start comparing. The number of consecutive characters in to compare. A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Boolean ``

  Two objects are equal if their and properties are equal.

  This method overrides .

  If a security decision depends on a string comparison or a case change, you should use the property to ensure that the behavior is consistent regardless of the culture settings of the operating system.

  Determines whether the specified object is equal to the current object.

  true if the specified object is equal to the current ; otherwise, false.

  The object to compare with the current .
- Method
  System.Void To be added. To be added. 1.0.5000.0 2.0.0.0
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Globalization.CompareInfo `` To be added

  Initializes a new object that is associated with the culture with the specified identifier.

  A new object associated with the culture with the specified identifier and using string comparison methods in the current .

  An integer representing the culture identifier.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Globalization.CompareInfo `` To be added

  Initializes a new object that is associated with the culture with the specified name.

  A new object associated with the culture with the specified identifier and using string comparison methods in the current .

  A string representing the culture name.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Globalization.CompareInfo `` ``

  The behavior of this method is unpredictable. It is recommended for your application to use a version of this method that does not take an assembly input.

  The parameter must be of the same type as .

  Initializes a new object that is associated with the specified culture and that uses string comparison methods in the specified .

  A new object associated with the culture with the specified identifier and using string comparison methods in the current .

  An integer representing the culture identifier. An that contains the string comparison methods to use.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Globalization.CompareInfo `` ``

  The behavior of this method is unpredictable. We recommend that you use a version of this method that does not take an assembly input.

  The parameter must be of the same type as .

  Initializes a new object that is associated with the specified culture and that uses string comparison methods in the specified .

  A new object associated with the culture with the specified identifier and using string comparison methods in the current .

  A string representing the culture name. An that contains the string comparison methods to use.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32

  This method overrides .

  This method generates the same hash code for two objects that are equal according to the method.

  Serves as a hash function for the current for hashing algorithms and data structures, such as a hash table.

  A hash code for the current .

- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Globalization.SortKey ``

  Each character in a string is given several categories of sort weights, including script, alphabetic, case, and diacritic weights. A sort key is the repository of these weights for a particular string. For example, a sort key might contain a string of alphabetic weights, followed by a string of case weights, and so on. The method is equivalent to the Windows API method LCMapString with the LCMAP_SORTKEY flag.

  Gets the sort key for the specified string.

  The object that contains the sort key for the specified string.

  The string for which a object is obtained.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Globalization.SortKey `` ``

  Each character in a string is given several categories of sort weights, including script, alphabetic, case, and diacritic weights. A sort key is the repository of these weights for a particular string. For example, a sort key might contain a string of alphabetic weights, followed by a string of case weights, and so on. The method is equivalent to the Windows API method LCMapString with the LCMAP_SORTKEY flag.

  Gets a object for the specified string using the specified value.

  The object that contains the sort key for the specified string.

  The string for which a object is obtained. A bitwise combination of one or more of the following enumeration values that define how the sort key is calculated: , , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` ``

  This method searches the source string from the beginning of the string to the end of the string.

  This overload performs a culture-sensitive search. If represents a precomposed Unicode character, such as the ligature "Æ" (U+00C6), it might be considered equivalent to any occurrence of its components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. To perform an ordinal (culture-insensitive) search, where a character is considered equivalent to another character only if their Unicode code points are the same, you should call an overload that has a parameter of type and use the value. Unlike , which performs a culture-sensitive comparison, overloads of the method that search for a character perform an ordinal comparison and overloads that search for a string perform a culture-sensitive comparison.

  When possible, you should use string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified character and returns the zero-based index of the first occurrence within the entire source string.

  The zero-based index of the first occurrence of , if found, within ; otherwise, -1. Returns 0 (zero) if is an ignorable character.

  The string to search. The character to locate within .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` ``

  The source string is searched forward starting at the beginning of the string and ending at the end of the string.

  This overload performs a culture-sensitive search. A Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), might be considered equivalent to any occurrence of the character's components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. To perform an ordinal (culture-insensitive) search, where the Unicode values are compared, you should use one of the overloads that has a parameter of type and use the value.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified substring and returns the zero-based index of the first occurrence within the entire source string.

  The zero-based index of the first occurrence of , if found, within ; otherwise, -1. Returns 0 (zero) if is an ignorable character.

  The string to search. The string to locate within .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` ``

  The source string is searched forward starting at the beginning of the string and ending at the end of the string.

  The value is not valid for this method.

  If does not include the value, this overload performs a culture-sensitive search. If the character is a Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), it might be considered equivalent to any occurrence of its components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. If includes the value, this overload performs an ordinal (culture-insensitive) search. A character is considered equivalent to another character only if the Unicode values are the same. Overloads of that search for a character perform an ordinal search, whereas those that search for a string perform a culture-sensitive search.

  When possible, you should use string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified character and returns the zero-based index of the first occurrence within the entire source string using the specified value.

  The zero-based index of the first occurrence of , if found, within , using the specified comparison options; otherwise, -1. Returns 0 (zero) if is an ignorable character.

  The string to search. The character to locate within . A value that defines how the strings should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` ``

  The source string is searched forward starting at and ending at the end of the string.

  This overload performs a culture-sensitive search. If the character is a Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), it might be considered equivalent to any occurrence of its components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. To perform an ordinal (culture-insensitive) search, where a character is considered equivalent to another character only if the Unicode values are the same, you should call one of the overloads that has a parameter of type and use the value. Overloads of that search for a character perform an ordinal search, whereas those that search for a string perform a culture-sensitive search.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string.

  The zero-based index of the first occurrence of , if found, within the section of that extends from to the end of ; otherwise, -1. Returns if is an ignorable character.

  The string to search. The character to locate within . The zero-based starting index of the search.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` ``

  The source string is searched forward starting at the beginning of the string and ending at the end of the string.

  The value is not valid for this method.

  If does not include the value, this overload performs a culture-sensitive search. A Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), might be considered equivalent to any occurrence of the character's components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. If includes the value, this overload performs an ordinal (culture-insensitive) search, where the Unicode values are compared.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified substring and returns the zero-based index of the first occurrence within the entire source string using the specified value.

  The zero-based index of the first occurrence of , if found, within , using the specified comparison options; otherwise, -1. Returns 0 (zero) if is an ignorable character.

  The string to search. The string to locate within . A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` ``

  The source string is searched forward starting at and ending at the end of the string.

  This overload performs a culture-sensitive search. A Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), might be considered equivalent to any occurrence of the character's components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. To perform an ordinal (culture-insensitive) search, where the Unicode values are compared, you should call one of the overloads that has a parameter of type and use the value.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string.

  The zero-based index of the first occurrence of , if found, within the section of that extends from to the end of ; otherwise, -1. Returns if is an ignorable character.

  The string to search. The string to locate within . The zero-based starting index of the search.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` ``

  The source string is searched forward starting at and ending at the end of the string.

  The value is not valid for this method.

  If does not include the value, this overload performs a culture-sensitive search. If the character is a Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), it might be considered equivalent to any occurrence of its components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. If includes the value, this overload performs an ordinal (culture-insensitive) search. A character is considered equivalent to another character only if the Unicode values are the same. Overloads of that search for a character perform an ordinal search, whereas those that search for a string perform a culture-sensitive search.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string using the specified value.

  The zero-based index of the first occurrence of , if found, within the section of that extends from to the end of , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.

  The string to search. The character to locate within . The zero-based starting index of the search. A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` ``

  The source string is searched forward starting at and ending at + - 1.

  This overload performs a culture-sensitive search. If the character is a Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), it might be considered equivalent to any occurrence of its components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. To perform an ordinal (culture-insensitive) search, where a character is considered equivalent to another character only if the Unicode values are the same, you should call one of the overloads that has a parameter of type and use the value. Overloads of that search for a character perform an ordinal search, whereas those that search for a string perform a culture-sensitive search.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements.

  The zero-based index of the first occurrence of , if found, within the section of that starts at and contains the number of elements specified by ; otherwise, -1. Returns if is an ignorable character.

  The string to search. The character to locate within . The zero-based starting index of the search. The number of elements in the section to search.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` ``

  The source string is searched forward starting at and ending at the end of the string.

  The value is not valid for this method.

  If does not include the value, this overload performs a culture-sensitive search. A Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), might be considered equivalent to any occurrence of the character's components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. If includes the value, this overload performs an ordinal (culture-insensitive) search, where the Unicode values are compared.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that extends from the specified index to the end of the string using the specified value.

  The zero-based index of the first occurrence of , if found, within the section of that extends from to the end of , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.

  The string to search. The string to locate within . The zero-based starting index of the search. A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` ``

  The source string is searched forward starting at and ending at + - 1.

  This overload performs a culture-sensitive search. A Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), might be considered equivalent to any occurrence of the character's components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. To perform an ordinal (culture-insensitive) search, where the Unicode values are compared, you should call one of the overloads that has a parameter of type and use the value.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements.

  The zero-based index of the first occurrence of , if found, within the section of that starts at and contains the number of elements specified by ; otherwise, -1. Returns if is an ignorable character.

  The string to search. The string to locate within . The zero-based starting index of the search. The number of elements in the section to search.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` `` ``

  The source string is searched forward starting at and ending at + - 1.

  The value is not valid for this method.

  If does not include the value, this overload performs a culture-sensitive search. If the character is a Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), it might be considered equivalent to any occurrence of its components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. If includes the value, this overload performs an ordinal (culture-insensitive) search. A character is considered equivalent to another character only if the Unicode values are the same. Overloads of that search for a character perform an ordinal search, whereas those that search for a string perform a culture-sensitive search.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified character and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements using the specified value.

  The zero-based index of the first occurrence of , if found, within the section of that starts at and contains the number of elements specified by , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.

  The string to search. The character to locate within . The zero-based starting index of the search. The number of elements in the section to search. A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` `` ``

  The source string is searched forward starting at and ending at + - 1.

  The value is not valid for this method.

  If does not include the value, this overload performs a culture-sensitive search. A Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), might be considered equivalent to any occurrence of the character's components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. If includes the value, this overload performs an ordinal (culture-insensitive) search, where the Unicode values are compared.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified substring and returns the zero-based index of the first occurrence within the section of the source string that starts at the specified index and contains the specified number of elements using the specified value.

  The zero-based index of the first occurrence of , if found, within the section of that starts at and contains the number of elements specified by , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.

  The string to search. The string to locate within . The zero-based starting index of the search. The number of elements in the section to search. A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Boolean `` ``

  Every string starts and ends with an empty substring (""); therefore, if is an empty string, this method returns true.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Determines whether the specified source string starts with the specified prefix.

  true if the length of is less than or equal to the length of and starts with ; otherwise, false.

  The string to search in. The string to compare with the beginning of .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Boolean `` `` ``

  Every string starts and ends with an empty substring (""); therefore, if is an empty string, this method returns true.

  The value is not valid for this method.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Determines whether the specified source string starts with the specified prefix using the specified value.

  true if the length of is less than or equal to the length of and starts with ; otherwise, false.

  The string to search in. The string to compare with the beginning of . A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
- Method
  2.0.0.0
  4.0.0.0
  System.Runtime.InteropServices.ComVisible(false)
  System.Boolean ``

  The parameter is sortable if it is a Unicode character that is defined in an internal class sort table, and is not a private use or unpaired high or low surrogate character.

  Indicates whether a specified Unicode character is sortable.

  true if the parameter is sortable; otherwise, false.

  A Unicode character.
- Method
  2.0.0.0
  4.0.0.0
  System.Runtime.InteropServices.ComVisible(false)
  System.Boolean ``

  Each Unicode character in the parameter is represented by one or more UTF-16 encoded objects. The parameter is sortable if each Unicode character is defined in an internal class sort table, and is not a private use or unpaired high or low surrogate character.

  Indicates whether a specified Unicode string is sortable.

  true if the parameter is not an empty string ("") and all the Unicode characters in are sortable; otherwise, false.

  A string of zero or more Unicode characters.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Boolean `` ``

  Every string starts and ends with an empty substring (""); therefore, if is an empty string, this method returns true.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Determines whether the specified source string ends with the specified suffix.

  true if the length of is less than or equal to the length of and ends with ; otherwise, false.

  The string to search in. The string to compare with the end of .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Boolean `` `` ``

  Every string starts and ends with an empty substring (""); therefore, if is an empty string, this method returns true.

  The value is not valid for this method.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Determines whether the specified source string ends with the specified suffix using the specified value.

  true if the length of is less than or equal to the length of and ends with ; otherwise, false.

  The string to search in. The string to compare with the end of . A value that defines how and should be compared. is either the enumeration value used by itself, or the bitwise combination of one or more of the following values: , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` ``

  The source string is searched backward starting at the end of the string and ending at the beginning of the string.

  This overload performs a culture-sensitive search. If the character is a Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), it might be considered equivalent to any occurrence of its components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. To perform an ordinal (culture-insensitive) search, where a character is considered equivalent to another character only if the Unicode values are the same, you should call one of the overloads that has a parameter of type and use the value. Overloads of that search for a character perform an ordinal search, whereas those that search for a string perform a culture-sensitive search.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified character and returns the zero-based index of the last occurrence within the entire source string.

  The zero-based index of the last occurrence of , if found, within ; otherwise, -1.

  The string to search. The character to locate within .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` ``

  The source string is searched backward starting at the end of the string and ending at the beginning of the string.

  This overload performs a culture-sensitive search. A Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), might be considered equivalent to any occurrence of the character's components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. To perform an ordinal (culture-insensitive) search, where the Unicode values are compared, you should call one of the overloads that has a parameter of type and use the value.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified substring and returns the zero-based index of the last occurrence within the entire source string.

  The zero-based index of the last occurrence of , if found, within ; otherwise, -1.

  The string to search. The string to locate within .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` ``

  The source string is searched backward starting at the end of the string and ending at the beginning of the string.

  The value is not valid for this method.

  If does not include the value, this overload performs a culture-sensitive search. If the character is a Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), it might be considered equivalent to any occurrence of its components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. If includes the value, this overload performs an ordinal (culture-insensitive) search. A character is considered equivalent to another character only if the Unicode values are the same. Overloads of that search for a character perform an ordinal search, whereas those that search for a string perform a culture-sensitive search.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified character and returns the zero-based index of the last occurrence within the entire source string using the specified value.

  The zero-based index of the last occurrence of , if found, within , using the specified comparison options; otherwise, -1.

  The string to search. The character to locate within . A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` ``

  The source string is searched backward starting at and ending at the beginning of the string.

  This overload performs a culture-sensitive search. If the character is a Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), it might be considered equivalent to any occurrence of its components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. To perform an ordinal (culture-insensitive) search, where a character is considered equivalent to another character only if the Unicode values are the same, you should call one of the overloads that has a parameter of type and use the value. Overloads of that search for a character perform an ordinal search, whereas those that search for a string perform a culture-sensitive search.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified character and returns the zero-based index of the last occurrence within the section of the source string that extends from the beginning of the string to the specified index.

  The zero-based index of the last occurrence of , if found, within the section of that extends from the beginning of to ; otherwise, -1. Returns if is an ignorable character.

  The string to search. The character to locate within . The zero-based starting index of the backward search.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` ``

  The source string is searched backward starting at the end of the string and ending at the beginning of the string.

  The value is not valid for this method.

  If does not include the value, this overload performs a culture-sensitive search. A Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), might be considered equivalent to any occurrence of the character's components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. If includes the value, this overload performs an ordinal (culture-insensitive) search, where the Unicode values are compared.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified substring and returns the zero-based index of the last occurrence within the entire source string using the specified value.

  The zero-based index of the last occurrence of , if found, within , using the specified comparison options; otherwise, -1.

  The string to search. The string to locate within . A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` ``

  The source string is searched backward starting at and ending at the beginning of the string.

  This overload performs a culture-sensitive search. A Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), might be considered equivalent to any occurrence of the character's components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. To perform an ordinal (culture-insensitive) search, where the Unicode values are compared, you should call one of the overloads that has a parameter of type and use the value.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified substring and returns the zero-based index of the last occurrence within the section of the source string that extends from the beginning of the string to the specified index.

  The zero-based index of the last occurrence of , if found, within the section of that extends from the beginning of to ; otherwise, -1. Returns if is an ignorable character.

  The string to search. The string to locate within . The zero-based starting index of the backward search.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` ``

  The source string is searched backward starting at and ending at the beginning of the string.

  The value is not valid for this method.

  If does not include the value, this overload performs a culture-sensitive search. If the character is a Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), it might be considered equivalent to any occurrence of its components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. If includes the value, this overload performs an ordinal (culture-insensitive) search. A character is considered equivalent to another character only if the Unicode values are the same. Overloads of that search for a character perform an ordinal search, whereas those that search for a string perform a culture-sensitive search.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified character and returns the zero-based index of the last occurrence within the section of the source string that extends from the beginning of the string to the specified index using the specified value.

  The zero-based index of the last occurrence of , if found, within the section of that extends from the beginning of to , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.

  The string to search. The character to locate within . The zero-based starting index of the backward search. A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` ``

  The source string is searched backward starting at and ending at - + 1.

  This overload performs a culture-sensitive search. If the character is a Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), it might be considered equivalent to any occurrence of its components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. To perform an ordinal (culture-insensitive) search, where a character is considered equivalent to another character only if the Unicode values are the same, you should call one of the overloads that has a parameter of type and use the value. Overloads of that search for a character perform an ordinal search, whereas those that search for a string perform a culture-sensitive search.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified character and returns the zero-based index of the last occurrence within the section of the source string that contains the specified number of elements and ends at the specified index.

  The zero-based index of the last occurrence of , if found, within the section of that contains the number of elements specified by and that ends at ; otherwise, -1. Returns if is an ignorable character.

  The string to search. The character to locate within . The zero-based starting index of the backward search. The number of elements in the section to search.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` ``

  The source string is searched backward starting at and ending at the beginning of the string.

  The value is not valid for this method.

  If does not include the value, this overload performs a culture-sensitive search. A Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), might be considered equivalent to any occurrence of the character's components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. If includes the value, this overload performs an ordinal (culture-insensitive) search, where the Unicode values are compared.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified substring and returns the zero-based index of the last occurrence within the section of the source string that extends from the beginning of the string to the specified index using the specified value.

  The zero-based index of the last occurrence of , if found, within the section of that extends from the beginning of to , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.

  The string to search. The string to locate within . The zero-based starting index of the backward search. A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` ``

  The source string is searched backward starting at and ending at - + 1.

  This overload performs a culture-sensitive search. A Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), might be considered equivalent to any occurrence of the character's components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. To perform an ordinal (culture-insensitive) search, where the Unicode values are compared, you should call one of the overloads that has a parameter of type and use the value.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons .

  Searches for the specified substring and returns the zero-based index of the last occurrence within the section of the source string that contains the specified number of elements and ends at the specified index.

  The zero-based index of the last occurrence of , if found, within the section of that contains the number of elements specified by and that ends at ; otherwise, -1. Returns if is an ignorable character.

  The string to search. The string to locate within . The zero-based starting index of the backward search. The number of elements in the section to search.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` `` ``

  The source string is searched backward starting at and ending at - + 1.

  The value is not valid for this method.

  If does not include the value, this overload performs a culture-sensitive search. If the character is a Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), it might be considered equivalent to any occurrence of its components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. If includes the value, this overload performs an ordinal (culture-insensitive) search. A character is considered equivalent to another character only if the Unicode values are the same. Overloads of that search for a character perform an ordinal search, whereas those that search for a string perform a culture-sensitive search.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified character and returns the zero-based index of the last occurrence within the section of the source string that contains the specified number of elements and ends at the specified index using the specified value.

  The zero-based index of the last occurrence of , if found, within the section of that contains the number of elements specified by and that ends at , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.

  The string to search. The character to locate within . The zero-based starting index of the backward search. The number of elements in the section to search. A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 `` `` `` `` ``

  The source string is searched backward starting at and ending at - + 1.

  The value is not valid for this method.

  If does not include the value, this overload performs a culture-sensitive search. A Unicode value representing a precomposed character, such as the ligature "Æ" (U+00C6), might be considered equivalent to any occurrence of the character's components in the correct sequence, such as "AE" (U+0041, U+0045), depending on the culture. If includes the value, this overload performs an ordinal (culture-insensitive) search, where the Unicode values are compared.

  When possible, you should call string comparison methods that have a parameter of type to specify the kind of comparison expected. As a general rule, use linguistic options (using the current culture) for comparing strings displayed in the user interface and specify or for security comparisons.

  Searches for the specified substring and returns the zero-based index of the last occurrence within the section of the source string that contains the specified number of elements and ends at the specified index using the specified value.

  The zero-based index of the last occurrence of , if found, within the section of that contains the number of elements specified by and that ends at , using the specified comparison options; otherwise, -1. Returns if is an ignorable character.

  The string to search. The string to locate within . The zero-based starting index of the backward search. The number of elements in the section to search. A value that defines how and should be compared. is either the enumeration value , or a bitwise combination of one or more of the following values: , , , , and .
- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Int32 To be added: an object of type 'int' To be added

  Gets the properly formed culture identifier for the current .

- Property
  2.0.0.0
  4.0.0.0
  System.Runtime.InteropServices.ComVisible(false)
  System.String To be added.

  The and properties can have different values. For example, an property value of hexadecimal 0x10407 identifies an alternate sort culture that sorts names as they might appear in a German telephone book. The property has a value of "de-de_phoneb", whereas the property of the associated German (Germany) culture has a value of "de-DE".

  Gets the name of the culture used for sorting operations by this object.

- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Void ``

  This member is an explicit interface member implementation that can be used only when the current object is cast to an interface. For more information, see the method.

  Runs when the entire object graph has been deserialized.

  The object that initiated the callback.
- Method
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.String

  This method overrides the method. It returns a string that consists of the class name and the value of the instance property, separated by a hyphen.

  Returns a string that represents the current object.

  A string that represents the current object.