Table of Contents

Struct VolumeConcentration

Namespace
UnitsNet
Assembly
UnitsNet.VolumeConcentration.dll

The volume concentration (not to be confused with volume fraction) is defined as the volume of a constituent divided by the total volume of the mixture.

public struct VolumeConcentration

Remarks

Constructors

VolumeConcentration(double, VolumeConcentrationUnit)

Creates the quantity with the given numeric value and unit.

public VolumeConcentration(double value, VolumeConcentrationUnit unit)

Parameters

value double

The numeric value to construct this quantity with.

unit VolumeConcentrationUnit

The unit representation to construct this quantity with.

Exceptions

ArgumentException

If value is NaN or Infinity.

Properties

BaseUnit

The base unit of VolumeConcentration, which is Second. All conversions go via this value.

public static VolumeConcentrationUnit BaseUnit { get; }

Property Value

VolumeConcentrationUnit

CentilitersPerLiter

Gets a double value of this quantity converted into CentilitersPerLiter

public double CentilitersPerLiter { get; }

Property Value

double

CentilitersPerMililiter

Gets a double value of this quantity converted into CentilitersPerMililiter

public double CentilitersPerMililiter { get; }

Property Value

double

DecilitersPerLiter

Gets a double value of this quantity converted into DecilitersPerLiter

public double DecilitersPerLiter { get; }

Property Value

double

DecilitersPerMililiter

Gets a double value of this quantity converted into DecilitersPerMililiter

public double DecilitersPerMililiter { get; }

Property Value

double

DecimalFractions

Gets a double value of this quantity converted into DecimalFraction

public double DecimalFractions { get; }

Property Value

double

LitersPerLiter

Gets a double value of this quantity converted into LitersPerLiter

public double LitersPerLiter { get; }

Property Value

double

LitersPerMililiter

Gets a double value of this quantity converted into LitersPerMililiter

public double LitersPerMililiter { get; }

Property Value

double

MaxValue

Represents the largest possible value of VolumeConcentration.

public static VolumeConcentration MaxValue { get; }

Property Value

VolumeConcentration

MicrolitersPerLiter

Gets a double value of this quantity converted into MicrolitersPerLiter

public double MicrolitersPerLiter { get; }

Property Value

double

MicrolitersPerMililiter

Gets a double value of this quantity converted into MicrolitersPerMililiter

public double MicrolitersPerMililiter { get; }

Property Value

double

MillilitersPerLiter

Gets a double value of this quantity converted into MillilitersPerLiter

public double MillilitersPerLiter { get; }

Property Value

double

MillilitersPerMililiter

Gets a double value of this quantity converted into MillilitersPerMililiter

public double MillilitersPerMililiter { get; }

Property Value

double

MinValue

Represents the smallest possible value of VolumeConcentration.

public static VolumeConcentration MinValue { get; }

Property Value

VolumeConcentration

NanolitersPerLiter

Gets a double value of this quantity converted into NanolitersPerLiter

public double NanolitersPerLiter { get; }

Property Value

double

NanolitersPerMililiter

Gets a double value of this quantity converted into NanolitersPerMililiter

public double NanolitersPerMililiter { get; }

Property Value

double

PartsPerBillion

Gets a double value of this quantity converted into PartPerBillion

public double PartsPerBillion { get; }

Property Value

double

PartsPerMillion

Gets a double value of this quantity converted into PartPerMillion

public double PartsPerMillion { get; }

Property Value

double

PartsPerThousand

Gets a double value of this quantity converted into PartPerThousand

public double PartsPerThousand { get; }

Property Value

double

PartsPerTrillion

Gets a double value of this quantity converted into PartPerTrillion

public double PartsPerTrillion { get; }

Property Value

double

Percent

Gets a double value of this quantity converted into Percent

public double Percent { get; }

Property Value

double

PicolitersPerLiter

Gets a double value of this quantity converted into PicolitersPerLiter

public double PicolitersPerLiter { get; }

Property Value

double

PicolitersPerMililiter

Gets a double value of this quantity converted into PicolitersPerMililiter

public double PicolitersPerMililiter { get; }

Property Value

double

Unit

public VolumeConcentrationUnit Unit { get; }

Property Value

VolumeConcentrationUnit

Value

The numeric value this quantity was constructed with.

public double Value { get; }

Property Value

double

Zero

Gets an instance of this quantity with a value of 0 in the base unit Second.

public static VolumeConcentration Zero { get; }

Property Value

VolumeConcentration

Methods

As(VolumeConcentrationUnit)

Convert to the unit representation unit.

public double As(VolumeConcentrationUnit unit)

Parameters

unit VolumeConcentrationUnit

Returns

double

Value converted to the specified unit.

From(double, VolumeConcentrationUnit)

Dynamically convert from value and unit enum VolumeConcentrationUnit to VolumeConcentration.

public static VolumeConcentration From(double value, VolumeConcentrationUnit fromUnit)

Parameters

value double

Value to convert from.

fromUnit VolumeConcentrationUnit

Unit to convert from.

Returns

VolumeConcentration

VolumeConcentration unit value.

FromCentilitersPerLiter(double)

public static VolumeConcentration FromCentilitersPerLiter(double centilitersperliter)

Parameters

centilitersperliter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromCentilitersPerMililiter(double)

public static VolumeConcentration FromCentilitersPerMililiter(double centiliterspermililiter)

Parameters

centiliterspermililiter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromDecilitersPerLiter(double)

public static VolumeConcentration FromDecilitersPerLiter(double decilitersperliter)

Parameters

decilitersperliter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromDecilitersPerMililiter(double)

public static VolumeConcentration FromDecilitersPerMililiter(double deciliterspermililiter)

Parameters

deciliterspermililiter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromDecimalFractions(double)

public static VolumeConcentration FromDecimalFractions(double decimalfractions)

Parameters

decimalfractions double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromLitersPerLiter(double)

public static VolumeConcentration FromLitersPerLiter(double litersperliter)

Parameters

litersperliter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromLitersPerMililiter(double)

public static VolumeConcentration FromLitersPerMililiter(double literspermililiter)

Parameters

literspermililiter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromMicrolitersPerLiter(double)

public static VolumeConcentration FromMicrolitersPerLiter(double microlitersperliter)

Parameters

microlitersperliter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromMicrolitersPerMililiter(double)

public static VolumeConcentration FromMicrolitersPerMililiter(double microliterspermililiter)

Parameters

microliterspermililiter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromMillilitersPerLiter(double)

public static VolumeConcentration FromMillilitersPerLiter(double millilitersperliter)

Parameters

millilitersperliter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromMillilitersPerMililiter(double)

public static VolumeConcentration FromMillilitersPerMililiter(double milliliterspermililiter)

Parameters

milliliterspermililiter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromNanolitersPerLiter(double)

public static VolumeConcentration FromNanolitersPerLiter(double nanolitersperliter)

Parameters

nanolitersperliter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromNanolitersPerMililiter(double)

public static VolumeConcentration FromNanolitersPerMililiter(double nanoliterspermililiter)

Parameters

nanoliterspermililiter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromPartsPerBillion(double)

public static VolumeConcentration FromPartsPerBillion(double partsperbillion)

Parameters

partsperbillion double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromPartsPerMillion(double)

public static VolumeConcentration FromPartsPerMillion(double partspermillion)

Parameters

partspermillion double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromPartsPerThousand(double)

public static VolumeConcentration FromPartsPerThousand(double partsperthousand)

Parameters

partsperthousand double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromPartsPerTrillion(double)

public static VolumeConcentration FromPartsPerTrillion(double partspertrillion)

Parameters

partspertrillion double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromPercent(double)

Creates a VolumeConcentration from Percent.

public static VolumeConcentration FromPercent(double percent)

Parameters

percent double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromPicolitersPerLiter(double)

public static VolumeConcentration FromPicolitersPerLiter(double picolitersperliter)

Parameters

picolitersperliter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

FromPicolitersPerMililiter(double)

public static VolumeConcentration FromPicolitersPerMililiter(double picoliterspermililiter)

Parameters

picoliterspermililiter double

Returns

VolumeConcentration

Exceptions

ArgumentException

If value is NaN or Infinity.

ToUnit(VolumeConcentrationUnit)

Converts this VolumeConcentration to another VolumeConcentration with the unit representation unit.

public VolumeConcentration ToUnit(VolumeConcentrationUnit unit)

Parameters

unit VolumeConcentrationUnit

Returns

VolumeConcentration

A VolumeConcentration with the specified unit.