PropertyHierarchyTryGetValueT(PropertyKeyT, T) Method |
Tries to get a specific property value. The bags are search for the property, starting from the topmost bag and iterating to the bag at the bottom.
Namespace: Altaxo.Main.PropertiesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public bool TryGetValue<T>(
PropertyKey<T> p,
out T value
)
Parameters
- p PropertyKeyT
- The property key.
- value T
- On successfull return, this contains the retrieved property value.
Type Parameters
- T
- Type of the property value to search for.
Return Value
BooleanTrue if the property value could be successfully retrieved;
false otherwise.
Implements
IReadOnlyPropertyBagTryGetValueT(PropertyKeyT, T)See Also