CompareInfo Methods

CompareInfo Methods

 

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodCompare(String, Int32, Int32, String, Int32, Int32)

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

System_CAPS_pubmethodCompare(String, Int32, Int32, String, Int32, Int32, CompareOptions)

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

System_CAPS_pubmethodCompare(String, Int32, String, Int32)

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

System_CAPS_pubmethodCompare(String, Int32, String, Int32, CompareOptions)

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

System_CAPS_pubmethodCompare(String, String)

Compares two strings.

System_CAPS_pubmethodCompare(String, String, CompareOptions)

Compares two strings using the specified CompareOptions value.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current CompareInfo object.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetCompareInfo(Int32)

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

System_CAPS_pubmethodSystem_CAPS_staticGetCompareInfo(Int32, Assembly)

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

System_CAPS_pubmethodSystem_CAPS_staticGetCompareInfo(String)

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

System_CAPS_pubmethodSystem_CAPS_staticGetCompareInfo(String, Assembly)

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

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for the current CompareInfo for hashing algorithms and data structures, such as a hash table.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetHashCode(String, CompareOptions)

Gets the hash code for a string based on specified comparison options.

System_CAPS_pubmethodGetSortKey(String)

Gets the sort key for the specified string.

System_CAPS_pubmethodGetSortKey(String, CompareOptions)

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

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIndexOf(String, Char)

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

System_CAPS_pubmethodIndexOf(String, Char, CompareOptions)

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

System_CAPS_pubmethodIndexOf(String, Char, Int32)

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.

System_CAPS_pubmethodIndexOf(String, Char, Int32, CompareOptions)

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 CompareOptions value.

System_CAPS_pubmethodIndexOf(String, Char, Int32, Int32)

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.

System_CAPS_pubmethodIndexOf(String, Char, Int32, Int32, CompareOptions)

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 CompareOptions value.

System_CAPS_pubmethodIndexOf(String, String)

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

System_CAPS_pubmethodIndexOf(String, String, CompareOptions)

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

System_CAPS_pubmethodIndexOf(String, String, Int32)

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.

System_CAPS_pubmethodIndexOf(String, String, Int32, CompareOptions)

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 CompareOptions value.

System_CAPS_pubmethodIndexOf(String, String, Int32, Int32)

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.

System_CAPS_pubmethodIndexOf(String, String, Int32, Int32, CompareOptions)

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 CompareOptions value.

System_CAPS_pubmethodIsPrefix(String, String)

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

System_CAPS_pubmethodIsPrefix(String, String, CompareOptions)

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

System_CAPS_pubmethodSystem_CAPS_staticIsSortable(Char)

Indicates whether a specified Unicode character is sortable.

System_CAPS_pubmethodSystem_CAPS_staticIsSortable(String)

Indicates whether a specified Unicode string is sortable.

System_CAPS_pubmethodIsSuffix(String, String)

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

System_CAPS_pubmethodIsSuffix(String, String, CompareOptions)

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

System_CAPS_pubmethodLastIndexOf(String, Char)

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

System_CAPS_pubmethodLastIndexOf(String, Char, CompareOptions)

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

System_CAPS_pubmethodLastIndexOf(String, Char, Int32)

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.

System_CAPS_pubmethodLastIndexOf(String, Char, Int32, CompareOptions)

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 CompareOptions value.

System_CAPS_pubmethodLastIndexOf(String, Char, Int32, Int32)

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.

System_CAPS_pubmethodLastIndexOf(String, Char, Int32, Int32, CompareOptions)

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 CompareOptions value.

System_CAPS_pubmethodLastIndexOf(String, String)

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

System_CAPS_pubmethodLastIndexOf(String, String, CompareOptions)

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

System_CAPS_pubmethodLastIndexOf(String, String, Int32)

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.

System_CAPS_pubmethodLastIndexOf(String, String, Int32, CompareOptions)

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 CompareOptions value.

System_CAPS_pubmethodLastIndexOf(String, String, Int32, Int32)

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.

System_CAPS_pubmethodLastIndexOf(String, String, Int32, Int32, CompareOptions)

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 CompareOptions value.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current CompareInfo object.(Overrides Object.ToString().)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDeserializationCallback.OnDeserialization(Object)

Runs when the entire object graph has been deserialized.

Return to top
Show:
© 2016 Microsoft