ISO Currency code - existing enum in .NET ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • José Joye

    ISO Currency code - existing enum in .NET ?

    Hello,

    Is there an enum available within the .NET library which gives the valid ISO
    currency code?

    Thanks,
    -José


  • rossum

    #2
    Re: ISO Currency code - existing enum in .NET ?

    On Wed, 1 Nov 2006 16:12:58 +0100, "José Joye" <Me@me.comwrote :
    >Hello,
    >
    >Is there an enum available within the .NET library which gives the valid ISO
    >currency code?
    >
    >Thanks,
    >-José
    >
    If you search in Help for the RegionInfo class there is a list of all
    the ISO three letter currency symbols. They appear to be stored as
    strings, not an enumeration, see the RegionInfo.ISOC urrencySymbol
    property.

    rossum

    Comment

    • José Joye

      #3
      Re: ISO Currency code - existing enum in .NET ?

      Thanks,

      The RegionInfo.ISOC urrencySymbol returns the ISO currency for the current
      region.
      What I was expecting is a kind of list that returns me all the available ISO
      symbol so as to check it for validity.

      - José

      "rossum" <rossum48@coldm ail.coma écrit dans le message de news:
      gnihk252k0hl18a po7fhchf036kqcq 9jd9@4ax.com...
      On Wed, 1 Nov 2006 16:12:58 +0100, "José Joye" <Me@me.comwrote :
      >
      >>Hello,
      >>
      >>Is there an enum available within the .NET library which gives the valid
      >>ISO
      >>currency code?
      >>
      >>Thanks,
      >>-José
      >>
      If you search in Help for the RegionInfo class there is a list of all
      the ISO three letter currency symbols. They appear to be stored as
      strings, not an enumeration, see the RegionInfo.ISOC urrencySymbol
      property.
      >
      rossum
      >

      Comment

      • Mihai N.

        #4
        Re: ISO Currency code - existing enum in .NET ?

        The RegionInfo.ISOC urrencySymbol returns the ISO currency for the current
        region.
        What I was expecting is a kind of list that returns me all the available
        ISO symbol so as to check it for validity.
        You can enumerate RegionInfo, get the ISO currency symbol for each and make
        your own list.


        --
        Mihai Nita [Microsoft MVP, Windows - SDK]
        Best internationalization practices, solving internationalization problems.

        ------------------------------------------
        Replace _year_ with _ to get the real email

        Comment

        Working...