Distance Methods |
The Distance type exposes the following members.
| Name | Description | |
|---|---|---|
| CompareTo |
Compares the current object with another object of the same type.
| |
| ConvertTo |
Converts the distance to the specified units.
| |
| Equals(Object) |
Indicates whether the current instance and the specified object are equal.
(Overrides ValueTypeEquals(Object).) | |
| Equals(Distance) |
Indicates whether the current object is equal to another object of the same type.
| |
| FromDecimalString(String) |
Creates a distance from a decimal string representation.
| |
| FromDecimalString(String, IFormatProvider) |
Creates a distance from a decimal string representation.
| |
| FromDecimalString(String, IFormatProvider, DistanceUnitType) |
Creates a distance from a decimal string representation.
| |
| FromFractionalFeetAndInchesString(String) |
Creates a distance from a string representation of fractional feet and inches.
| |
| FromFractionalFeetAndInchesString(String, IFormatProvider, DistanceUnitType) |
Creates a distance from a string representation of fractional feet and inches.
| |
| GetHashCode |
Returns the hash code for the current instance.
(Overrides ValueTypeGetHashCode.) | |
| Parse(String) |
Parses a distance from a string representation using the current unit type and culture.
| |
| Parse(String, IFormatProvider) |
Parses a distance from a string representation using the current unit type and the given culture.
| |
| Parse(String, IFormatProvider, DistanceUnitType) |
Parses a distance from a string representation using the given unit type and culture.
| |
| ToDecimalString |
Converts the distance to a decimal string representation.
| |
| ToDecimalString(IFormatProvider) |
Converts the distance to a decimal string representation.
| |
| ToDecimalString(String) |
Converts the distance to a decimal string representation.
| |
| ToDecimalString(String, IFormatProvider) |
Converts the distance to a decimal string representation.
| |
| ToDecimalString(String, IFormatProvider, DistanceUnitType) |
Converts the distance to a decimal string representation.
| |
| ToFractionalFeetAndInchesString |
Creates a string representation of the distance in feet and inches.
| |
| ToFractionalFeetAndInchesString(IFormatProvider) |
Creates a string representation of the distance in feet and inches.
| |
| ToFractionalInchesString |
Creates a string representation of the distance in inches.
| |
| ToFractionalInchesString(IFormatProvider) |
Creates a string representation of the distance in inches.
| |
| ToString |
Creates a string representation of the distance.
(Overrides ValueTypeToString.) | |
| ToString(IFormatProvider) |
Creates a string representation of the distance.
| |
| ToString(String) |
Creates a string representation of the distance.
| |
| ToString(String, IFormatProvider) |
Creates a string representation of the distance.
| |
| ToString(String, IFormatProvider, DistanceUnitType) |
Creates a string representation of the distance.
| |
| TryParse(String, Distance) |
Attempts to parse a distance from a string representation using the current units.
| |
| TryParse(String, IFormatProvider, Distance) |
Attempts to parse a distance from a string representation using the current units.
| |
| TryParse(String, IFormatProvider, DistanceUnitType, Distance) |
Attempts to parse a distance from a string representation using the current units.
|