Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想获取给定 LCID 的母语名称(例如“Deutsch (Deutschland)”)。到目前为止,我只看到了必须将 CurrentThread 的文化设置为这种文化的示例。我正在寻找解决方案,而无需设置 CurrentThread 的文化。
非常感谢你!
如果不设置this new culture(提供其 LCID)到您当前线程的文化,您可以使用这种方式:
this new culture
Dim NativeName As String=System.Globalization.CultureInfo.GetCultureInfo(LCID_HERE).NativeName