Public Methods

  Name Description
Public method Clone Creates a new object that is a copy of the current instance.
Public method CompareTo  
Public method ConvertFrom Overloaded. Converts given value from standard (SI) unit of measure.
Public method ConvertTo Converts measured value to given unit of measure.
Public method Equals Overloaded. Determines whether the specified Object is equal to the current Object.
Public method Static GetFormat Returns a string representation of given unit of measure, followed by a string representation of given decimal precision.
Public method GetHashCode Serves as a hash function for a particular type. (inherited from Object)
Public method Static GetPrecisionFormat Returns a string representation of given decimal precision, preceded by an arbitrary placeholder. Default placeholder is #.
Public method GetType Gets the Type of the current instance. (inherited from Object)
Public method Static GetUnitFormat Returns a string representation of given unit of measure, preceded by a value placeholder. String representation depends on unit's abbreviation.
Public method IsValid Returns True if object instance is considered valid, otherwise returns False.
Public operator Static op_Addition Overloaded. Adds two measurements.
Public operator Static op_Division Overloaded. Divides two measurements.
Public operator Static op_Equality Overloaded. Returns True if two measurements are equal, otherwise returns False.
Public operator Static op_Exponent Raises measurement to the specified exponent value.
Public operator Static op_GreaterThan Overloaded. Returns True if one measure is greater than the other, otherwise returns False.
Public operator Static op_GreaterThanOrEqual Overloaded. Returns True if one measure is greater or equal than the other, otherwise returns False.
Public operator Static op_Implicit  
Public operator Static op_Inequality Overloaded. Returns True if two measurements are not equal, otherwise returns False.
Public operator Static op_LessThan Overloaded. Returns True if one measure is lesser than the other, otherwise returns False.
Public operator Static op_LessThanOrEqual Overloaded. Returns True if one measure is lesser or equal than the other, otherwise returns False.
Public operator Static op_Multiply Overloaded. Multiplies two measurements.
Public operator Static op_Subtraction Overloaded. Returns the difference between two measurements.
Public method ToString Overloaded. Returns a String that represents the current Object.
Public method TryParse Overloaded. Converts a string representation of a number to standard (SI) unit of measure. A return value indicates whether the conversion succeeded or failed.
Top

Protected Methods

  Name Description
Family method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Family method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object)
Top

See Also