LengthParse(String) Method

Converts the string representation of a number to its Length equivalent.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
public static Length Parse(
	string s
)

Parameters

s  String
A string containing a number to convert.

Return Value

Length
A Length equivalent to the number contained in s.

Exceptions

ArgumentNullExceptions is null.
OverflowException s represents a number less than MinValue or greater than MaxValue.
FormatExceptions is not in the correct format.

See Also