Parse

Length.Parse method

Parses and returns specified string as a Length value, including its numeric value and unit name, or throws an exception on failure

public static Length Parse(string input)
Parameter Type Description
input String Input string, that should be parsed

Return Value

Valid parsed Length instance

Exceptions

exception condition
ArgumentException

See Also