|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
RegionInfo.ThreeLetterISORegionName returns TwoLetterIsoCode for BI need to get the ISO-3166 code for BOSNIA AND HERZEGOVINA. What I am trying is 1) RegionInfo ri = new RegionInfo(5146); ==> works fine and gets RegionInfo 2) ri.ThreeLetterISORegionName ==> Output "BA". Expected "BIH". But I only get "BA" - not "BIH". Any help greatly appreciated I have noticed that BA/BIH is not listed in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemglobalizationregioninfoclasstopic.asp Might this be the problem? I have also read about synthetic cultures http://blogs.msdn.com/shawnste/archive/2005/12/06/500675.aspx But anyway, BIH is a valid code found in ISO-3166. Any ideas how to get it via RegionInfo? Thanks, DPOMT |
|||||||||||||||||||||||