static public method Energy.TryParse

Brief

Parses the string into the value.

Declaration
C#
bool  TryParse (string text, out Energy value, out Energy.Unit unit)

Parameters
text

The text to be parsed.

value

[output] The parsed value.

unit

[output] The measurement unit.

Returns

The method returns true if the string has been successfully parsed.

Declared in Energy

back