GetSortKey()

CompareInfo::GetSortKey(const String&, CompareOptions) const method

Gets SortKey object for the specified string using specified compare options.

virtual SortKeyPtr System::Globalization::CompareInfo::GetSortKey(const String &value, CompareOptions options) const

Arguments

ParameterTypeDescription
valueconst String&Input string.
optionsCompareOptionsCompare options.

Return Value

SortKey object.

CompareInfo::GetSortKey(const String&) const method

Gets SortKey object for the specified string.

virtual SortKeyPtr System::Globalization::CompareInfo::GetSortKey(const String &value) const

Arguments

ParameterTypeDescription
valueconst String&Input string.

Return Value

SortKey object.

See Also