Share via


ModuleListPage.SavePreferences(PreferencesStore) Method

Definition

Saves the page grouping, sort order, search entries, and layout.

protected:
 override void SavePreferences(Microsoft::Web::Management::Client::PreferencesStore ^ store);
protected override void SavePreferences (Microsoft.Web.Management.Client.PreferencesStore store);
override this.SavePreferences : Microsoft.Web.Management.Client.PreferencesStore -> unit
Protected Overrides Sub SavePreferences (store As PreferencesStore)

Parameters

store
PreferencesStore

The ID of the store.

Examples

The following example saves the user preferences.

void SavePreferences() {

    PreferencesStore store = GetPrefStore();
    SavePreferences(store);
}


Remarks

This method saves the view, grouping, and filter modes if they are supported in the derived class. It also saves the width of columns that are added to the System.Windows.Forms.ListView object, the default sort column, and the sort order.

Derived classes can save arbitrary preference data.

Applies to