Click or drag to resize

GraphDocumentBaseGetPropertyValueT Method

Gets or sets the property value identified by the given key.

Namespace: Altaxo.Graph
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public T GetPropertyValue<T>(
	PropertyKey<T> key,
	Func<T>? resultCreationIfNotFound
)

Parameters

key  PropertyKeyT
The property key.
resultCreationIfNotFound  FuncT
A factory used when the value is not found.

Type Parameters

T
The property value type.

Return Value

T
The property value.
See Also