ZeroInstall.Store.Config.ResetOption C# (CSharp) Méthode

ResetOption() public méthode

Resets an option identified by a key to its default value.
is invalid.
public ResetOption ( string key ) : void
key string The key of the option to reset.
Résultat void
        public void ResetOption(string key)
        {
            var property = _metaData[key];
            property.Value = property.DefaultValue;
        }