static public method Weight.TryParse

Brief

Parses the string into the value.

Declaration
C#
bool  TryParse (string text, out Weight value, out Weight.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 Weight

back