共用方式為


CoreWebView2Profile.IsGeneralAutofillEnabled Property

Definition

Determines whether general form information will be saved and autofilled.

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

Property Value

Remarks

General autofill information includes information like names, street and email addresses, phone numbers, and arbitrary input. This excludes password information. When disabled, no suggestions appear, and no new information is saved. When enabled, information is saved, suggestions appear, and clicking on one will populate the form fields. The default value is true. It will apply immediately after setting. This property has the same value as IsGeneralAutofillEnabled, 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 IsGeneralAutofillEnabled and IsGeneralAutofillEnabled will always have the same value.

Applies to