RegionInfo.CurrencySymbol Property gets the currency symbol associated with the country/region. : RegionInfo « Internationalization I18N « VB.Net






RegionInfo.CurrencySymbol Property gets the currency symbol associated with the country/region.

 

Imports System
Imports System.Globalization

Public Class SamplesRegionInfo   
   Public Shared Sub Main()
      Dim myRI1 As New RegionInfo("US")
      Console.WriteLine("   Name:                         {0}", myRI1.Name)
      Console.WriteLine("   DisplayName:                  {0}", myRI1.DisplayName)
      Console.WriteLine("   EnglishName:                  {0}", myRI1.EnglishName)
      Console.WriteLine("   IsMetric:                     {0}", myRI1.IsMetric)
      Console.WriteLine("   ThreeLetterISORegionName:     {0}", myRI1.ThreeLetterISORegionName)
      Console.WriteLine("   ThreeLetterWindowsRegionName: {0}", myRI1.ThreeLetterWindowsRegionName)
      Console.WriteLine("   TwoLetterISORegionName:       {0}", myRI1.TwoLetterISORegionName)
      Console.WriteLine("   CurrencySymbol:               {0}", myRI1.CurrencySymbol)
      Console.WriteLine("   ISOCurrencySymbol:            {0}", myRI1.ISOCurrencySymbol)

   End Sub

End Class 

   
  








Related examples in the same category

1.Region Info Table
2.RegionInfo Class contains information about the country/region.
3.Compares the RegionInfo above with another RegionInfo created using CultureInfo
4.Creates a RegionInfo using the ISO 3166 two-letter code
5.Creates a RegionInfo using a CultureInfo.LCID
6.RegionInfo.CurrencyEnglishName Property gets the name of the currency used in the country/region.
7.RegionInfo.TwoLetterISORegionName Property gets the two-letter code defined in ISO 3166 for the country/region.