Click or drag to resize

PropertyBagTryGetValueT(PropertyKeyT, T) Method

Tries to get the value of a property.

Namespace: Altaxo.Main.Properties
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public virtual bool TryGetValue<T>(
	PropertyKey<T> p,
	out T value
)

Parameters

p  PropertyKeyT
The property key.
value  T
If successfull, on return this value contains the property value.

Type Parameters

T
Type of the property.

Return Value

Boolean
True if the property could be successfully retrieved, otherwise false.

Implements

IReadOnlyPropertyBagTryGetValueT(PropertyKeyT, T)
See Also