ChargeParse(String) Method
Converts the string representation of a number to its
Charge equivalent.
Namespace: Gemstone.UnitsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.153 -- Release Build+cfa0f66eec3b78014206cf98a152ef9e72791f21
public static Charge Parse(
string s
)
Public Shared Function Parse (
s As String
) As Charge
public:
static Charge Parse(
String^ s
)
Gemstone.Units.Charge.Parse = function(s);
- s String
- A string containing a number to convert.
Charge
A
Charge equivalent to the number contained in s.
| ArgumentNullException | s is null. |
| OverflowException |
s represents a number less than MinValue or greater than MaxValue.
|
| FormatException | s is not in the correct format. |