共用方式為


CoreWebView2EnvironmentOptions.ExclusiveUserDataFolderAccess Property

Definition

Determines whether other processes can create CoreWebView2Controller from CoreWebView2Environment created with the same user data folder and therefore sharing the same WebView browser process instance.

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

Property Value

Remarks

The default value is false.

Applies to