System.Globalization.SortKey.ToString Method

Returns a string that represents the current System.Globalization.SortKey object.

Syntax

public override string ToString ()

Returns

A string that represents the current System.Globalization.SortKey object.

Remarks

The return value is the concatenation of the string "SortKey - ", the culture identifier and compare options of the current System.Globalization.SortKey object, and the value of the SortKey.OriginalString property.

This method overrides object.ToString.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0