The Quantity type exposes the following members.

Constructors

  NameDescription
Public methodQuantity
Default constructor.

Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodResetUnitCode
Resets the node.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyUnitCode
Unit Code (string). The unit of the quantity
Public propertyUnitCodeSet
Checks if the property has been set or not.
Public propertyValue
The value of the type Decimal. See documentation on the parent field.

See Also