ClientSettingsProvider.Reset(SettingsContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resets all user settings to their default values.
public:
virtual void Reset(System::Configuration::SettingsContext ^ context);
public void Reset (System.Configuration.SettingsContext context);
abstract member Reset : System.Configuration.SettingsContext -> unit
override this.Reset : System.Configuration.SettingsContext -> unit
Public Sub Reset (context As SettingsContext)
Parameters
- context
- SettingsContext
This parameter is not used by this method.
Implements
Exceptions
The IsOffline property value is false
and the Web settings service at the ServiceUri location is unavailable.
Remarks
This method is used internally by the application settings system and it not meant to be used by your application code. To reset Web settings to their default values, you will typically use the ApplicationSettingsBase.Reset method of your project's Settings
class (typically accessed as Properties.Settings.Default
in C# and My.Settings
in Visual Basic). You can also revert Web settings to the previously cached values by calling the ApplicationSettingsBase.Reload method.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για