Skip to content

BH.oM.Units.VolumeUnit

Enum values

Name Description
Undefined -
AcreFoot -
AuTablespoon -
Centiliter -
CubicCentimeter -
CubicDecimeter -
CubicFoot -
CubicHectometer -
CubicInch -
CubicKilometer -
CubicMeter -
CubicMicrometer -
CubicMile -
CubicMillimeter -
CubicYard -
DecausGallon -
Deciliter -
DeciusGallon -
HectocubicFoot -
HectocubicMeter -
Hectoliter -
HectousGallon -
ImperialBeerBarrel -
ImperialGallon -
ImperialOunce -
ImperialPint -
KilocubicFoot -
KilocubicMeter -
KiloimperialGallon -
Kiloliter -
KilousGallon -
Liter -
MegacubicFoot -
MegaimperialGallon -
Megaliter -
MegausGallon -
MetricCup -
MetricTeaspoon -
Microliter -
Milliliter -
OilBarrel -
UkTablespoon -
UsBeerBarrel -
UsCustomaryCup -
UsGallon -
UsLegalCup -
UsOunce -
UsPint -
UsQuart -
UsTablespoon -
UsTeaspoon -

Code and Schema

C# implementation

C#
public enum VolumeUnit : System.Enum, System.ValueType, System.IComparable, System.ISpanFormattable, System.IFormattable, System.IConvertible

Assembly: Units_oM.dll

The C# enum definition is available on github:

All history and changes of the class can be found by inspection the history.

JSON Schema implementation

The object is defined as a JSON schema. You can validate a JSON instance against this schema by reference. To do this, use the schema reference below in a validator like this one.

JSON Schema
{
 "$ref" : "https://raw.githubusercontent.com/BHoM/BHoM_JSONSchema/develop/Units_oM/VolumeUnit.json"
}

The JSON Schema is available on github here: