System::Globalization::SortKey class

SortKey class

Mapping of a string to its sort key. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class SortKey : public System::Object

Methods

MethodDescription
static Compare(const SortKeyPtr&, const SortKeyPtr&)Compares two sort keys.
Equals(SharedPtr<Object>) overrideChecks if the specified object is equal to the current SortKey object.
virtual get_KeyData()Gets byte array representing current object.
virtual get_OriginalString()Gets original string used to create this object.
GetHashCode() const overrideGets hash code for the current SortKey object.
operator=(const SortKey&)
SortKey(const SortKey&)
ToString() const overrideConverts current object to its string representation.

See Also