EnergyParse(String, IFormat
|
public static Energy Parse( string s, IFormatProvider provider )
Exception | Condition |
---|---|
ArgumentNullException | s is null. |
OverflowException | s represents a number less than MinValue or greater than MaxValue. |
FormatException | s is not in the correct format. |