Method SetValue
SetValue(object, bool)
Set the value for this setting.
Declaration
public void SetValue(object value, bool saveProjectSettingsImmediately = false)
Parameters
Type | Name | Description |
---|---|---|
object | value | The new value. |
bool | saveProjectSettingsImmediately | True to immediately serialize the ISettingsRepository that is backing this value, or false to postpone. If not serializing immediately, be sure to call Save(). |
Implements
SetValue(T, bool)
Set the value for this setting.
Declaration
public void SetValue(T value, bool saveProjectSettingsImmediately = false)
Parameters
Type | Name | Description |
---|---|---|
T | value | The new value. |
bool | saveProjectSettingsImmediately | True to immediately serialize the ISettingsRepository that is backing this value, or false to postpone. If not serializing immediately, be sure to call Save(). |