Click or drag to resize

Volume Methods

The Volume type exposes the following members.

Methods
  Name Description
Public method CompareTo(Double) Compares this instance to a specified Double and returns an indication of their relative values.
Public method CompareTo(Object) Compares this instance to a specified object and returns an indication of their relative values.
Public method CompareTo(Volume) Compares this instance to a specified Volume and returns an indication of their relative values.
Public method Static member ConvertFrom Converts the value in the specified sourceUnit to a new Volume in cubic meters.
Public method ConvertTo Converts the Volume to the specified targetUnit.
Public method Equals(Double) Returns a value indicating whether this instance is equal to a specified Double value.
Public method Equals(Object) Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object))
Public method Equals(Volume) Returns a value indicating whether this instance is equal to a specified Volume value.
Public method Static member FromCubicFeet Creates a new Volume value from the specified value in cubic feet.
Public method Static member FromCubicInches Creates a new Volume value from the specified value in cubic inches.
Public method Static member FromCups Creates a new Volume value from the specified value in US cups.
Public method Static member FromFluidOunces Creates a new Volume value from the specified value in US fluid ounces.
Public method Static member FromGallons Creates a new Volume value from the specified value in US fluid gallons.
Public method Static member FromLiters Creates a new Volume value from the specified value in liters.
Public method Static member FromMetricCups Creates a new Volume value from the specified value in metric cups.
Public method Static member FromMetricTablespoons Creates a new Volume value from the specified value in metric tablespoons.
Public method Static member FromMetricTeaspoons Creates a new Volume value from the specified value in metric teaspoons.
Public method Static member FromPints Creates a new Volume value from the specified value in US fluid pints.
Public method Static member FromQuarts Creates a new Volume value from the specified value in US fluid quarts.
Public method Static member FromTablespoons Creates a new Volume value from the specified value in US tablespoons.
Public method Static member FromTeaspoons Creates a new Volume value from the specified value in US teaspoons.
Public method GetHashCode Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method GetTypeCode Returns the TypeCode for value type Double.
Public method Static member Parse(String) Converts the string representation of a number to its Volume equivalent.
Public method Static member Parse(String, NumberStyles) Converts the string representation of a number in a specified style to its Volume equivalent.
Public method Static member Parse(String, IFormatProvider) Converts the string representation of a number in a specified culture-specific format to its Volume equivalent.
Public method Static member Parse(String, NumberStyles, IFormatProvider) Converts the string representation of a number in a specified style and culture-specific format to its Volume equivalent.
Public method ToCubicFeet Gets the Volume value in cubic feet.
Public method ToCubicInches Gets the Volume value in cubic inches.
Public method ToCups Gets the Volume value in US cups.
Public method ToFluidOunces Gets the Volume value in US fluid ounces.
Public method ToGallons Gets the Volume value in US fluid gallons.
Public method ToLiters Gets the Volume value in liters.
Public method ToMetricCups Gets the Volume value in metric cups.
Public method ToMetricTablespoons Gets the Volume value in metric tablespoons.
Public method ToMetricTeaspoons Gets the Volume value in metric teaspoons.
Public method ToPints Gets the Volume value in US fluid pints.
Public method ToQuarts Gets the Volume value in US fluid quarts.
Public method ToString Converts the numeric value of this instance to its equivalent string representation.
(Overrides ValueTypeToString)
Public method ToString(IFormatProvider) Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information.
Public method ToString(String) Converts the numeric value of this instance to its equivalent string representation, using the specified format.
Public method ToString(String, IFormatProvider) Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
Public method ToTablespoons Gets the Volume value in US tablespoons.
Public method ToTeaspoons Gets the Volume value in US teaspoons.
Public method Static member TryParse(String, Volume) Converts the string representation of a number to its Volume equivalent. A return value indicates whether the conversion succeeded or failed.
Public method Static member TryParse(String, NumberStyles, IFormatProvider, Volume) Converts the string representation of a number in a specified style and culture-specific format to its Volume equivalent. A return value indicates whether the conversion succeeded or failed.
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also