距离单位为净当前CultureInfo [英] Units of distance for the current CultureInfo in .Net
本文介绍了距离单位为净当前CultureInfo的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能从CultureInfo类或System.Globalization命名空间的任何其他类获得距离的单位。
Is it possible to get the unit of distance from a CultureInfo class or any other class in the System.Globalization namespace.
例如。 EN-GB将是一英里,EN-FR将是公里
e.g. "en-GB" would be "mile", "en-FR" would be "km"
推荐答案
的RegionInfo.CurrentRegion.IsMetric
这篇关于距离单位为净当前CultureInfo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文