Groups | Blog | Home
all groups > dotnet internationalization > october 2004 >

dotnet internationalization : How to retrieve the list of the countries



Michael \(michka\) Kaplan [MS]
10/6/2004 3:30:17 AM
There is no enumeration method for RegionInfo objects (though it is on the
list of things to get in there at some point). The only way to do it
presently is to use the GetCultures() method to get all the specific
cultures (CultureTypes.SpecificCultures) and then create a RegionInfo out of
each LCID, checking for unique region codes to avoid duplicates.

--
MichKa [MS]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure and Font Technologies
Windows International Division

This posting is provided "AS IS" with
no warranties, and confers no rights.

[quoted text, click to view]

Jerome Boudon
10/6/2004 8:20:10 AM
In need to populate a combo with the list of all the countries.
I the the RegionInfo Class, but is there a way to get a collections of all
the available RegionInfo

Thanks

Jerome

AddThis Social Bookmark Button