Click or drag to resize

QuantityGuessUnitFromString Method

Try guess an eum unit from a string.

For this to work, be sure to use a string matching the Description ("Desc") of an eumUnit.

If the string does not exactly any unit, a set of common abbreviations are tried.

If no success, eumUUnitUndefined is returned.

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public static eumUnit GuessUnitFromString(
	string s
)

Parameters

s
Type: SystemString

[Missing <param name="s"/> documentation for "M:DHI.Mike1D.Generic.Quantity.GuessUnitFromString(System.String)"]

Return Value

Type: eumUnit

[Missing <returns> documentation for "M:DHI.Mike1D.Generic.Quantity.GuessUnitFromString(System.String)"]

See Also