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
我有以下标记:
<h3 class="foo">I WANT THIS <span class="bar">I DON'T WANT THIS</span></h3>
有什么方法可以忽略<span>XPATH 的内容吗?到目前为止,所有的努力
<span>