ICoreWebView2Profile6

Undocumented in source.

Members

Functions

get_IsGeneralAutofillEnabled
HRESULT get_IsGeneralAutofillEnabled(BOOL* value)

IsGeneralAutofillEnabled controls whether autofill for information like names, street and email addresses, phone numbers, and arbitrary input is enabled. This excludes password and credit card information. When IsGeneralAutofillEnabled is false, no suggestions appear, and no new information is saved. When IsGeneralAutofillEnabled is true, information is saved, suggestions appear and clicking on one will populate the form fields. It will take effect immediately after setting. The default value is TRUE. This property has the same value as CoreWebView2Settings.IsGeneralAutofillEnabled, and changing one will change the other. All CoreWebView2s with the same CoreWebView2Profile will share the same value for this property, so for the CoreWebView2s with the same profile, their CoreWebView2Settings.IsGeneralAutofillEnabled and CoreWebView2Profile.IsGeneralAutofillEnabled will always have the same value.

get_IsPasswordAutosaveEnabled
HRESULT get_IsPasswordAutosaveEnabled(BOOL* value)

IsPasswordAutosaveEnabled controls whether autosave for password information is enabled. The IsPasswordAutosaveEnabled property behaves independently of the IsGeneralAutofillEnabled property. When IsPasswordAutosaveEnabled is false, 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 IsPasswordAutosaveEnabled is true, 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. It will take effect immediately after setting. The default value is FALSE. This property has the same value as CoreWebView2Settings.IsPasswordAutosaveEnabled, and changing one will change the other. All CoreWebView2s with the same CoreWebView2Profile will share the same value for this property, so for the CoreWebView2s with the same profile, their CoreWebView2Settings.IsPasswordAutosaveEnabled and CoreWebView2Profile.IsPasswordAutosaveEnabled will always have the same value.

put_IsGeneralAutofillEnabled
HRESULT put_IsGeneralAutofillEnabled(BOOL value)

Set the IsGeneralAutofillEnabled property.

put_IsPasswordAutosaveEnabled
HRESULT put_IsPasswordAutosaveEnabled(BOOL value)

Set the IsPasswordAutosaveEnabled property.

Inherited Members

From ICoreWebView2Profile5

get_CookieManager
HRESULT get_CookieManager(ICoreWebView2CookieManager* cookieManager)

Get the cookie manager for the profile. All CoreWebView2s associated with this profile share the same cookie values. Changes to cookies in this cookie manager apply to all CoreWebView2s associated with this profile. See ICoreWebView2CookieManager.

Meta