O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required