Click or drag to resize

PropertyHierarchyGetValueT(PropertyKeyT) Method

Gets a property value.

Namespace: Altaxo.Main.Properties
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public T GetValue<T>(
	PropertyKey<T> p
)

Parameters

p  PropertyKeyT
The property key.

Type Parameters

T
Type of the property value.

Return Value

T
The property value if found in this hierarchy. If the property value is not found, an KeyNotFoundException is thrown.

Implements

IReadOnlyPropertyBagGetValueT(PropertyKeyT)
Exceptions
ExceptionCondition
KeyNotFoundExceptionThrown if the property key was not found in this hierarchy.
See Also