Click or drag to resize

TemperatureParse(String) Method

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

Namespace: GSF.Units
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntax
public static Temperature Parse(
	string s
)
View Source

Parameters

s  String
A string containing a number to convert.

Return Value

Temperature
A Temperature equivalent to the number contained in s.
Exceptions
ExceptionCondition
ArgumentNullExceptions is null.
OverflowException s represents a number less than MinValue or greater than MaxValue.
FormatExceptions is not in the correct format.
See Also