共用方式為


CoreWebView2Profile.IsPasswordAutosaveEnabled Property

Definition

Determines whether password information will be autosaved.

public bool IsPasswordAutosaveEnabled { get; set; }
member this.IsPasswordAutosaveEnabled : bool with get, set
Public Property IsPasswordAutosaveEnabled As Boolean

Property Value

Remarks

When disabled, no new password data is saved and no Save/Update Password prompts are displayed. However, if there was password data already saved before disabling this setting, then that password information is auto-populated, suggestions are shown and clicking on one will populate the fields. When enabled, password information is auto-populated, suggestions are shown and clicking on one will populate the fields, new data is saved, and a Save/Update Password prompt is displayed. The default value is false. It will apply immediately after setting. This property has the same value as IsPasswordAutosaveEnabled, and changing one will change the other. All WebView2s with the same CoreWebView2Profile will share the same value for this property, so for the WebView2s with the same profile, their IsPasswordAutosaveEnabled and IsPasswordAutosaveEnabled will always have the same value.

Applies to