Name

SortKey

Synopsis

This class represents a set of weighted classifications used to sort individual elements of a string.

public class SortKey {
// Public Instance Properties
   public virtual field byte[] KeyData{get; } 
   public virtual field string OriginalString{get; } 
// Public Static Methods
   public static method int Compare(SortKey sortkey1, 
        SortKey sortkey2);  
// Public Instance Methods
   public override method bool Equals(object value);            // overrides object
   public override method int GetHashCode();                     // overrides object
   public override method string ToString();                     // overrides object
}

Returned By

CompareInfo.GetSortKey()

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.