Click or drag to resize

DimensionfulQuantity Methods

The DimensionfulQuantity type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAbs 
Public methodAsQuantityIn(IPrefixedUnit)Converts this quantity to another quantity in the provided prefixed unit.
Public methodAsQuantityIn(IUnit)Converts this quantity to another quantity in the provided unit (without prefix).
Public methodAsQuantityIn(SIPrefix, IUnit)Converts this quantity to another quantity in the provided unit, with the provided prefix.
Public methodAsValueIn(IPrefixedUnit)Converts this quantity to its numerical value in the given unit, with the given prefix.
Public methodAsValueIn(IUnit)Converts this quantity to its numerical value in the given unit (without prefix).
Public methodAsValueIn(SIPrefix, IUnit)Converts this quantity to its numerical value in the given unit, with the given prefix.
Public methodCompareTo(DimensionfulQuantity)Compares this quanitity to another quantity.
Public methodCompareTo(Object) 
Public methodEquals(DimensionfulQuantity) 
Public methodEquals(Object)
(Overrides ValueTypeEquals(Object))
Public methodGetHashCode
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsEqualInValuePrefixUnitDetermines whether this instance is equal to another quanity in all three components (value, prefix and unit). This is not a comparison for the physical equality of the quantities.
Public methodStatic memberMax 
Public methodStatic memberMin 
Public methodStatic memberRoundUpOrDown 
Public methodToString
(Overrides ValueTypeToString)
Public methodToString(String, IFormatProvider) 
Public methodWithNewValue Creates an instance with a new value, and with the same prefix and unit as this quantity.
Top
See Also