【发布时间】:2012-11-05 11:54:32
【问题描述】:
我想获取给定 LCID 的母语名称(例如“Deutsch (Deutschland)”)。 到目前为止,我只看到了必须将 CurrentThread 的文化设置为这种文化的示例。 我正在寻找解决方案,而无需设置 CurrentThread 的文化。
非常感谢!
【问题讨论】:
我想获取给定 LCID 的母语名称(例如“Deutsch (Deutschland)”)。 到目前为止,我只看到了必须将 CurrentThread 的文化设置为这种文化的示例。 我正在寻找解决方案,而无需设置 CurrentThread 的文化。
非常感谢!
【问题讨论】:
如果不将 this new culture(提供其 LCID)设置为您当前线程的文化,您可以采用这种方式:
Dim NativeName As String=System.Globalization.CultureInfo.GetCultureInfo(LCID_HERE).NativeName
【讨论】: