Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CompareInfo Methods

The methods of the CompareInfo class are listed here. For a complete list of CompareInfo class members, see the CompareInfo Members topic.

Public Methods

public methodCompare

Supported by the .NET Compact Framework.

Overloaded. Compares two strings.
public methodEquals

Supported by the .NET Compact Framework.

Overridden. Determines whether the specified object is the same instance as the current CompareInfo.
public methodstatic (Shared in Visual Basic)GetCompareInfo

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the CompareInfo class.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Serves as a hash function for the current CompareInfo for use in hashing algorithms and data structures, such as a hash table.
public methodGetSortKey Overloaded. Gets the SortKey of a string.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodIndexOf

Supported by the .NET Compact Framework.

Overloaded. Returns the zero-based index of the first occurrence of a value within a string or within a portion of it.
public methodIsPrefix

Supported by the .NET Compact Framework.

Overloaded. Determines whether a string starts with a specific prefix.
public methodIsSuffix

Supported by the .NET Compact Framework.

Overloaded. Determines whether a string ends with a specific suffix.
public methodLastIndexOf

Supported by the .NET Compact Framework.

Overloaded. Returns the zero-based index of the last occurrence of a value within a string or within a portion of it.
public methodToString

Supported by the .NET Compact Framework.

Overridden. Returns a string that represents the current CompareInfo.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

CompareInfo Class | System.Globalization Namespace

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft