Collation.GetSortKey MethodCollation.GetSortKey MethodCollation::GetSortKey Method
Parameters
- value
Return Value
Type: System.Byte[]System.Byte()array
<System::Byte>^
A byte array representing all strings equal to value.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException | value is null
a null reference (Nothing in Visual Basic)
nullptr . |
Remarks
Currently the sort keys returned are only used by XmlPrime to compare equality, so there is no requirement other than that they uniquely identify the string returned. In the future however we intend to use this method for performing sorting operations, in which case the sort keys returned may need to be valid Unicode sort keys.