CultureAndRegionInfoBuilder.IsMetric Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether the country/region uses the metric system for measurements.
public:
property bool IsMetric { bool get(); void set(bool value); };
public bool IsMetric { get; set; }
member this.IsMetric : bool with get, set
Public Property IsMetric As Boolean
Property Value
true
if the country/region uses the metric system for measurements; otherwise, false
.
Exceptions
This operation is not valid for a neutral culture.
Applies to
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.