LengthUnitTryParse Method |
Parse a string that ends with a length unit to return the length unit. The string is trimmed at the end before use.
Namespace: Altaxo.SerializationAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool TryParse(
string s,
out LengthUnit lengthUnit,
out string remainder
)
Parameters
- s String
- String to parse.
- lengthUnit LengthUnit
- On success, returns the length unit parsed.
- remainder String
- On success, returns the part of the input string, which belongs not to the length unit.
Return Value
BooleanTrue if successfull, otherwise false.
See Also