Restores the default values for a preference or for all preferences in a category. A category is a set of preferences on the same subject grouped together in a node under the Preferences object located under the Application.
Preferences.RestoreDefault( PreferenceName ); |
Parameter | Type | Description |
---|---|---|
PreferenceName | String | The category or the preference to restore the default value. It can also be a specific preference. |
# This restores the default for the data_management category Application.Preferences.RestoreDefault("data_management") |
// This restores the default for only the scripting.language preference Application.Preferences.RestoreDefault("scripting.language"); |