Click or drag to resize

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.Serialization
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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

Boolean
True if successfull, otherwise false.
See Also