Click or drag to resize
UomMeasureT Methods

The UomMeasureT generic type exposes the following members.

Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodCompareTo
Compares the current object with another object of the same type.
Public methodConvertFrom(Double)
Converts given value from standard (SI) unit of measure.
Public methodConvertFrom(Double, UomUnit)
Converts given value from specified unit of measure.
Public methodConvertTo
Converts measured value to given unit of measure.
Public methodEquals
Indicates whether the current object is equal to another object of the same type.
Public methodStatic memberGetFormat
Returns a string representation of given unit of measure, followed by a string representation of given decimal precision.
Public methodStatic memberGetPrecisionFormat
Returns a string representation of given decimal precision, preceded by an arbitrary placeholder. Default placeholder is #.
Public methodStatic memberGetUnitFormat
Returns a string representation of given unit of measure, preceded by a value placeholder. String representation depends on unit's abbreviation.
Public methodIsValid
Returns True if object instance is considered valid, otherwise returns False.
Public methodToString
Public methodTryParse(String)
Converts a string representation of a number to standard (SI) unit of measure. A return value indicates whether the conversion succeeded or failed.
Public methodTryParse(String, T)
Converts a string representation of a number to given unit of measure. A return value indicates whether the conversion succeeded or failed.
Top
See Also