Muokkaa

Jaa


CultureAndRegionInfoBuilder.IsMetric Property

Definition

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