SortKey.KeyData Property

 

Gets the byte array representing the current SortKey object.

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

abstract KeyData : byte[] with get
override KeyData : byte[] with get

Property Value

Type: System.Byte[]

A byte array representing the current SortKey object.

For more information about the use of the data returned by the KeyData property in comparing strings, see the SortKey class topic.

The following code example displays an original string and the equivalent string and key data for a case-sensitive sort key and a case-insensitive sort key.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: