VB.NET GetCompareInfo
using System.Globalization
Public Shared Function GetCompareInfo(culture As integer) As CompareInfo
Public Shared Function GetCompareInfo(culture As String) As compareInfo
Public Shared Function GetCompareInfo(culture As Integer, assembly As Assembly) As CompareInfo
Public Shared Function GetCompareInfo(culture As String, assembly As Assembly) As CompareInfo
Internationalization (I18n) Method Overview
Initializes a new CompareInfo object that is associated with the specified culture.
The object can then be used to call methods that implement culture-sensitive string comparisons.
For more information see Microsoft's
MSDN online documentation.
I18n Issues
We flag this method to ensure that the specified culture is correct for the end user.
Note that InvariantCulture should not be used if you want sorting based on locale.
VB.NET Culture and Number Format
|