Click or drag to resize

PropertyBagSetValueT(PropertyKeyT, T) Method

Sets 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 void SetValue<T>(
	PropertyKey<T> p,
	T value
)

Parameters

p  PropertyKeyT
The property key.
value  T
The value of the property.

Type Parameters

T
Type of the property.

Implements

IPropertyBagSetValueT(PropertyKeyT, T)
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the type of the provided value is not compatible with the registered property.
See Also