MeasureUnit Members
Represents a measure unit used by a map.Constructors
| Name | Description |
|---|---|
| MeasureUnit(Double, String, String) | Initializes a new instance of the MeasureUnit class with the specified meters in a unit, and the name and abbreviation parameters. |
Properties
| Name | Description |
|---|---|
| Abbreviation | Gets an abbreviation corresponding to the current measure unit. |
| Centimeter static | Returns an instance of the MeasureUnit class representing centimeters. |
| Foot static | Returns an instance of the MeasureUnit class representing feet. |
| Furlong static | Returns an instance of the MeasureUnit class representing furlongs. |
| Inch static | Returns an instance of the MeasureUnit class representing inches. |
| Kilometer static | Returns an instance of the MeasureUnit class representing kilometers. |
| Meter static | Returns an instance of the MeasureUnit class representing meters. |
| MetersInUnit | Returns a value specifying the current measure unit converted into meters. |
| Mile static | Returns an instance of the MeasureUnit class representing miles. |
| Millimeter static | Returns an instance of the MeasureUnit class representing millimeters. |
| Name | Gets a name of a measure unit |
| NauticalMile static | Returns an instance of the MeasureUnit class representing nautical miles. |
| Yard static | Returns an instance of the MeasureUnit class representing yards. |
Methods
| Name | Description |
|---|---|
| Equals(MeasureUnit) | Determines whether the specified measure unit is equal to the current MeasureUnit instance. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current MeasureUnit instance. |
| FromMeters(Double) | Converts a value in meters to the value in the current measure unit. |
| GetHashCode() | Gets the hash code (a number) that corresponds to the value of the current MeasureUnit object. |
| GetPredefinedUnits() static | Returns a list of predefined measure units. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| ToMeters(Double) | Converts a current measure unit value to its value in meters. |
| ToString() | Returns the textual representation of MeasureUnit. |
See Also