[SerializableAttribute]
public struct Charge : IComparable, IFormattable,
IConvertible, IComparable<Charge>, IComparable<double>, IEquatable<Charge>,
IEquatable<double>
<SerializableAttribute>
Public Structure Charge
Implements IComparable, IFormattable, IConvertible, IComparable(Of Charge),
IComparable(Of Double), IEquatable(Of Charge), IEquatable(Of Double)
[SerializableAttribute]
public value class Charge : IComparable,
IFormattable, IConvertible, IComparable<Charge>, IComparable<double>,
IEquatable<Charge>, IEquatable<double>
public double GetKilocoulombs(Charge coulombs)
{
return coulombs / SI.Kilo;
}
Charge | Creates a new Charge. |
CompareTo(Charge) | Compares this instance to a specified Charge and returns an indication of their relative values. |
CompareTo(Double) | Compares this instance to a specified Double and returns an indication of their relative values. |
CompareTo(Object) | Compares this instance to a specified object and returns an indication of their relative values. |
ConvertFrom | Converts the value in the specified sourceUnit to a new Charge in coulombs. |
ConvertTo | Converts the Charge to the specified targetUnit. |
Equals(Charge) | Returns a value indicating whether this instance is equal to a specified Charge value. |
Equals(Double) | Returns a value indicating whether this instance is equal to a specified Double value. |
Equals(Object) |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object)) |
FromAbcoulombs | Creates a new Charge value from the specified value in abcoulombs. |
FromAmpereHours | Creates a new Charge value from the specified value in ampere-hours. |
FromAtomicUnitsOfCharge | Creates a new Charge value from the specified value in atomic units of charge. |
FromFaraday | Creates a new Charge value from the specified value in faraday. |
FromStatcoulombs | Creates a new Charge value from the specified value in statcoulombs. |
GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode) |
GetType | Gets the Type of the current instance. (Inherited from Object) |
GetTypeCode | Returns the TypeCode for value type Double. |
Parse(String) | Converts the string representation of a number to its Charge equivalent. |
Parse(String, NumberStyles) | Converts the string representation of a number in a specified style to its Charge equivalent. |
Parse(String, IFormatProvider) | Converts the string representation of a number in a specified culture-specific format to its Charge equivalent. |
Parse(String, NumberStyles, IFormatProvider) | Converts the string representation of a number in a specified style and culture-specific format to its Charge equivalent. |
ToAbcoulombs | Gets the Charge value in abcoulombs. |
ToAmpereHours | Gets the Energy value in ampere-hours. |
ToAtomicUnitsOfCharge | Gets the Charge value in atomic units of charge. |
ToFaraday | Gets the Charge value in faraday. |
ToStatcoulombs | Gets the Charge value in statcoulombs. |
ToString |
Converts the numeric value of this instance to its equivalent string representation.
(Overrides ValueTypeToString) |
ToString(IFormatProvider) | Converts the numeric value of this instance to its equivalent string representation using the specified culture-specific format information. |
ToString(String) | Converts the numeric value of this instance to its equivalent string representation, using the specified format. |
ToString(String, IFormatProvider) | Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information. |
TryParse(String, Charge) | Converts the string representation of a number to its Charge equivalent. A return value indicates whether the conversion succeeded or failed. |
TryParse(String, NumberStyles, IFormatProvider, Charge) | Converts the string representation of a number in a specified style and culture-specific format to its Charge equivalent. A return value indicates whether the conversion succeeded or failed. |
Addition(Charge, Charge) | Returns computed sum of values. |
Division(Charge, Charge) | Returns computed division of values. |
Equality(Charge, Charge) | Compares the two values for equality. |
Exponent(Charge, Charge) | Returns result of first value raised to charge of second value. |
GreaterThan(Charge, Charge) | Returns true if left value is greater than right value. |
GreaterThanOrEqual(Charge, Charge) | Returns true if left value is greater than or equal to right value. |
(Charge to Double) | Implicitly converts Charge, represented in coulombs, to a Double. |
(Double to Charge) | Implicitly converts value, represented in coulombs, to a Charge. |
Inequality(Charge, Charge) | Compares the two values for inequality. |
LessThan(Charge, Charge) | Returns true if left value is less than right value. |
LessThanOrEqual(Charge, Charge) | Returns true if left value is less or equal to than right value. |
Modulus(Charge, Charge) | Returns computed remainder after dividing first value by the second. |
Multiply(Charge, Charge) | Returns computed product of values. |
Subtraction(Charge, Charge) | Returns computed difference of values. |
MaxValue | Represents the largest possible value of an Charge. This field is constant. |
MinValue | Represents the smallest possible value of an Charge. This field is constant. |
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |