Region Info Table : RegionInfo « Internationalization I18N « VB.Net

Home
VB.Net
1.2D
2.Application
3.Class
4.Data Structure
5.Data Types
6.Database ADO.net
7.Date Time
8.Development
9.Event
10.File Directory
11.Generics
12.GUI
13.Internationalization I18N
14.Language Basics
15.LINQ
16.Network Remote
17.Reflection
18.Security
19.Thread
20.Windows Presentation Foundation
21.Windows System
22.XML
23.XML LINQ
VB.Net » Internationalization I18N » RegionInfoScreenshots 
Region Info Table
   

Imports System
Imports System.Globalization

Module Module1
   Sub Main()
      Dim AllCultures() As CultureInfo
      Dim ACulture As CultureInfo
      Dim Rg As RegionInfo
      Dim As Integer

      AllCultures = CultureInfo.GetCultures(CultureTypes.SpecificCultures)
      For Each ACulture In AllCultures
         Rg = New RegionInfo(ACulture.LCID)
         Console.WriteLine(Rg.TwoLetterISORegionName.ToString().PadRight(5" "+ _
                              "," + Rg.EnglishName.PadRight(40" "+ _
                              "," + ACulture.LCID.ToString())
      Next
   End Sub
End Module

   
    
    
  
Related examples in the same category
1.RegionInfo Class contains information about the country/region.
2.Compares the RegionInfo above with another RegionInfo created using CultureInfo
3.Creates a RegionInfo using the ISO 3166 two-letter code
4.Creates a RegionInfo using a CultureInfo.LCID
5.RegionInfo.CurrencyEnglishName Property gets the name of the currency used in the country/region.
6.RegionInfo.CurrencySymbol Property gets the currency symbol associated with the country/region.
7.RegionInfo.TwoLetterISORegionName Property gets the two-letter code defined in ISO 3166 for the country/region.
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.