Parse Method
Parse(string)
Parses the string representation of a capacity.
Declaration
public static Capacity Parse(string value)
Parameters
string | value | The string representation of a capacity. |
Returns
Capacity | The capacity. |
Parse(string, MemoryUnit)
Parses the string representation of a capacity.
Declaration
public static Capacity Parse(string value, MemoryUnit defaultUnit)
Parameters
string | value | The string representation of a capacity. |
MemoryUnit | defaultUnit | The unit to use if none is specified in the string. |
Returns
Capacity | The capacity. |