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 byte[ ] KeyData{get; }
   public virtual string OriginalString{get; }
// Public Static Methods
   public static int Compare(SortKey sortkey1, SortKey sortkey2);
// Public Instance Methods
   public override bool Equals(object value);        
// overrides object
   public override int GetHashCode( );    
// overrides object
   public override string ToString( );    
// overrides object
}

Returned By

CompareInfo.GetSortKey( )

Get C# in a Nutshell, Second Edition 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.