Length Class

Length class

Represents a length measurement unit.

public sealed class Length : Dimension

Properties

NameDescription
getUnitType Gets the unit type of the Unit.

Methods

NameDescription
compareTo(Numeric)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
equals(object)Determines whether the specified Object, is equal to this instance.
equals(Unit)Determines whether the specified Unit, is equal to this instance.
getHashCode()Returns a hash code for this instance.
getValue()Gets the unit value.
getValue(UnitType)Gets the value converted to the specified UnitType.
toString()Returns a String that represents this instance.
operator +
operator ==
operator >
operator >=
operator !=
operator <
operator <=
operator -

See Also