Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Globalization.​SortKey

Assembly: System.Runtime

Inheritance: object → SortKey

Represents the result of mapping a string to its sort key.

Properties

public byte[]
KeyData
Gets the byte array representing the current <see cref="T:System.Globalization.SortKey" /> object.
public string
OriginalString
Gets the original string used to create the current <see cref="T:System.Globalization.SortKey" /> object.

Methods

public bool
Equals​(object value)
value The object to compare with the current <see cref="T:System.Globalization.SortKey" /> object.
Returns <see langword="true" /> if the <paramref name="value" /> parameter is equal to the current <see cref="T:System.Globalization.SortKey" /> object; otherwise, <see langword="false" /> .
Determines whether the specified object is equal to the current <see cref="T:System.Globalization.SortKey" /> object.
public int
GetHashCode​()
Returns A hash code for the current <see cref="T:System.Globalization.SortKey" /> object.
Serves as a hash function for the current <see cref="T:System.Globalization.SortKey" /> object that is suitable for hashing algorithms and data structures such as a hash table.
public string
ToString​()
Returns A string that represents the current <see cref="T:System.Globalization.SortKey" /> object.
Returns a string that represents the current <see cref="T:System.Globalization.SortKey" /> object.
protected void
Finalize​()
Inherited from object
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
public Type
GetType​()
Inherited from object
Returns The exact runtime type of the current instance.
Gets the <see cref="T:System.Type" /> of the current instance.
protected object
MemberwiseClone​()
Inherited from object
Returns A shallow copy of the current <see cref="T:System.Object" /> .
Creates a shallow copy of the current <see cref="T:System.Object" /> .