Internationalization and localization tools


VB.NET Culture and Number Format

using System.Globalization

Public Overridable Function GetSortKey(source As String) As SortKey

Public Overridable Function GetSortKey(source As String, options As CompareOptions) As SortKey

Internationalization (I18n) Method Overview

Returns the sort key for the specified string. Each character in a string is given several categories of sort weights, including script, alphabetic, case, and diacritic weights. A sort key is the repository of these weights for a particular string. For example, a sort key might contain a string of alphabetic weights, followed by a string of case weights, and so on. The GetSortKey method is equivalent to the Windows API method LCMapString with the LCMAP_SORTKEY flag.

For more information see Microsoft's MSDN online documentation.

I18n Issues

We flag this method to ensure that the CompareInfo object, through which this method is called, has been created for the correct culture. To create a CompareInfo object for any culture, use the GetCompareInfo method.

VB.NET Culture and Number Format

 

Lingoport internationalization and localization services and software