This documentation is archived and is not being maintained.

SortKey Methods

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

Public Methods

public methodstatic (Shared in Visual Basic)Compare Compares two sort keys.
public methodEquals Overridden. Determines whether the specified object is the same instance as the current SortKey.
public methodGetHashCode Overridden. Serves as a hash function for the current SortKey, suitable for use in hashing algorithms and data structures, such as a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodToString Overridden. Returns a string that represents the current SortKey.

Protected Methods

protected methodFinalize (inherited from Object) 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) Creates a shallow copy of the current Object.

See Also

SortKey Class | System.Globalization Namespace