Click or drag to resize

SIPrefixListTryGetPrefixFromShortCut Method

Try the get a prefix, given its shortcut. Example: given the string 'n', this function will return the prefix Nano.

Namespace: Altaxo.Units
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public SIPrefix? TryGetPrefixFromShortCut(
	string shortCut
)

Parameters

shortCut  String
The short cut.

Return Value

SIPrefix
The prefix with the given shortcut. If no such prefix exist, the function will return null.

Implements

ISIPrefixListTryGetPrefixFromShortCut(String)
Exceptions
ExceptionCondition
ArgumentNullExceptionshortCut
See Also