SortKey::ToString Method ()
.NET Framework (current version)
Returns a string that represents the current SortKey object.
Assembly: mscorlib (in mscorlib.dll)
The return value is the concatenation of the string "SortKey - ", the culture identifier and compare options of the current SortKey object, and the value of the OriginalString property.
This method overrides Object::ToString.
The following code example displays an original string, the strings yielded by the ToString method for case-sensitive and case-insensitive sort keys, and the key data for case-sensitive and case-insensitive sort keys.
.NET Framework
Available since 1.1
Available since 1.1
Show: