Click or drag to resize

LengthUnit Methods

The LengthUnit type exposes the following members.

Methods
  NameDescription
Public methodCompareTo
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.
Public methodEquals(LengthUnit)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Object)
Indicates whether the current object is equal to another object of the same type.
(Overrides ValueTypeEquals(Object).)
Public methodStatic memberFromCustomUnitSystem
Creates a custom LengthUnit based on its size expressed on a known UnitSystem.
Public methodStatic memberFromKnownUnitSystem
Constructs a LengthUnit from a UnitSystem.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsCustom
Determines whether the specified value is a custom unit.
Public methodStatic memberIsKnownLengthUnit
Determines whether the provided value is a known unit system.
Public methodIsKnownUnitSystem
Determines whether the instance value is a known unit system.
Public methodStatic memberIsNone
Determines whether the specified value is None.
Public methodStatic memberIsUnset
Determines whether the specified value is Unset.
Public methodStatic memberScale
Computes the scale factor for changing a measurement on different units.
Public methodSize
Returns the size of this unit expressed on a different length unit.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Public methodToUnitSystem(Double)
Returns a UnitSystem equivalent to this instance and its size expressed on meters.
Public methodToUnitSystem(Double, ISetUnitSystem)
Returns the most similar UnitSystem to this instance available on unitSystems set.
Top
See Also