文化信息名 [英] Culture info names
问题描述
我改变了应用程序文化
根据所选择的币种。
如。
_culture =新的CultureInfo(EN-US);
_culture =新的CultureInfo(FR-FR);
有没有在那里我能得到的工作文化信息的所有名称与 .NET
?
我发现他们大多但misssing的少数几个国家像
斐济元(FJD)瑞典克朗(SEK),冰岛克朗(ISK),斯里兰卡卢比(LKR)和巴西雷亚尔(BRL)的
这将是巨大的,如果有人知道任何引用我可以看看这些货币。
感谢
有没有在那里我能得到的文化信息的所有名称与.NET工作的任何地方吗?
您可以使用 的CultureInfo .GetCultures
找到支持您实际运行的机器上的文化的名单。我也不会感到惊讶,如果它由操作系统,服务包,.NET版本等变化。
I am changing the application culture
based on the selected currency.
eg.
_culture = new CultureInfo("en-US");
_culture = new CultureInfo("fr-FR");
Is there any place where I can get all the names of culture info for work with .net
?
I found most of them but misssing for few countries like
Fiji Dollar(FJD), Swedish Kroner(SEK), Icelandic Kroner(ISK), Sri Lankan Rupee(LKR) and Brazilian Real(BRL)
It will be great if somebody knows any reference I can look for these currencies.
Thanks
Is there any place where I can get all the names of culture info for work with .net?
You can use CultureInfo.GetCultures
to find the list of the cultures supported on the machine you're actually running on. I wouldn't be surprised if it varied by OS, service pack, .NET version etc.
这篇关于文化信息名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!