Click or drag to resize

PropertiesSetT(String, T) Method

Sets a single element in this Properties-container. The element will be serialized using a TypeConverter if possible, or XAML serializer otherwise.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void Set<T>(
	string key,
	T value
)

Parameters

key  String

[Missing <param name="key"/> documentation for "M:Altaxo.Main.Services.Properties.Set``1(System.String,``0)"]

value  T

[Missing <param name="value"/> documentation for "M:Altaxo.Main.Services.Properties.Set``1(System.String,``0)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Main.Services.Properties.Set``1(System.String,``0)"]

Remarks
Setting a key to null has the same effect as calling Remove(String).
See Also