GraphDocumentBaseGetPropertyValueT Method |
Gets or sets the property value identified by the given key.
Namespace: Altaxo.GraphAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
TThe property value.
See Also