Click or drag to resize

UserDefinedUnitEnvironmentsTryGetValue Method

Gets the value associated with the specified key.

Namespace: Altaxo.Gui.Units
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public bool TryGetValue(
	string key,
	out UserDefinedUnitEnvironment value
)

Parameters

key  String
The key whose value to get.
value  UserDefinedUnitEnvironment
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Return Value

Boolean
if the object that implements IDictionaryTKey, TValue contains an element with the specified key; otherwise, .

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is .
See Also