다음을 통해 공유


CoreWebView2BrowsingDataKinds Enum

Definition

Specifies the datatype for the ICoreWebView2Profile2::ClearBrowsingData method.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum CoreWebView2BrowsingDataKinds
[<System.Flags>]
type CoreWebView2BrowsingDataKinds = 
Public Enum CoreWebView2BrowsingDataKinds
Inheritance
CoreWebView2BrowsingDataKinds
Attributes

Fields

Name Value Description
FileSystems 1

Specifies file systems data.

IndexedDb 2

Specifies data stored by the IndexedDB DOM feature.

LocalStorage 4

Specifies data stored by the localStorage DOM API.

WebSql 8

Specifies data stored by the Web SQL database DOM API.

CacheStorage 16

Specifies data stored by the CacheStorage DOM API.

AllDomStorage 32

Specifies DOM storage data, now and future. This browsing data kind is inclusive of COREWEBVIEW2_BROWSING_DATA_KINDS_FILE_SYSTEMS, COREWEBVIEW2_BROWSING_DATA_KINDS_INDEXED_DB, COREWEBVIEW2_BROWSING_DATA_KINDS_LOCAL_STORAGE, COREWEBVIEW2_BROWSING_DATA_KINDS_WEB_SQL, COREWEBVIEW2_BROWSING_DATA_KINDS_SERVICE_WORKERS, COREWEBVIEW2_BROWSING_DATA_KINDS_CACHE_STORAGE, and some other data kinds not listed yet to keep consistent with DOM-accessible storage.

Cookies 64

Specifies HTTP cookies data.

AllSite 128

Specifies all site data, now and future. This browsing data kind is inclusive of COREWEBVIEW2_BROWSING_DATA_KINDS_ALL_DOM_STORAGE and COREWEBVIEW2_BROWSING_DATA_KINDS_COOKIES. New site data types may be added to this data kind in the future.

DiskCache 256

Specifies disk cache.

DownloadHistory 512

Specifies download history data.

GeneralAutofill 1024

Specifies general autofill form data. This excludes password information and includes information like: names, street and email addresses, phone numbers, and arbitrary input. This also includes payment data.

PasswordAutosave 2048

Specifies password autosave data.

BrowsingHistory 4096

Specifies browsing history data.

Settings 8192

Specifies settings data.

AllProfile 16384

Specifies profile data that should be wiped to make it look like a new profile. This does not delete account-scoped data like passwords but will remove access to account-scoped data by signing the user out. Specifies all profile data, now and future. New profile data types may be added to this data kind in the future. This browsing data kind is inclusive of COREWEBVIEW2_BROWSING_DATA_KINDS_ALL_SITE, COREWEBVIEW2_BROWSING_DATA_KINDS_DISK_CACHE, COREWEBVIEW2_BROWSING_DATA_KINDS_DOWNLOAD_HISTORY, COREWEBVIEW2_BROWSING_DATA_KINDS_GENERAL_AUTOFILL, COREWEBVIEW2_BROWSING_DATA_KINDS_PASSWORD_AUTOSAVE, COREWEBVIEW2_BROWSING_DATA_KINDS_BROWSING_HISTORY, and COREWEBVIEW2_BROWSING_DATA_KINDS_SETTINGS.

ServiceWorkers 32768

Specifies service workers registered for an origin, and clear will result in termination and deregistration of them.

Applies to