ConfigurationDataVersion Property |
Gets or sets a counter that is incremented every time the configuration is saved. Unlike all other
properties this will not raise NotifyPropertyChanged when modified.
Namespace: VirtualRadar.Interface.SettingsAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public int DataVersion { get; set; }
Public Property DataVersion As Integer
Get
Set
public:
property int DataVersion {
int get ();
void set (int value);
}
member DataVersion : int with get, set
Property Value
Type:
Int32Remarks
This was introduced when the web admin plugin was introduced.
IConfigurationStorage
implementations are expected to check that the value of this property is the same as the value
of the property stored on disk, and to throw an exception if they are not. In this way if a user
edits the configuration in the WinForms and web GUIs simultaneously only one edit will "win",
the others will fail because they are attempting to save an out-of-date version of the configuration.
See Also