共用方式為


CoreWebView2PermissionState Enum

Definition

Specifies the response to a permission request.

public enum CoreWebView2PermissionState
type CoreWebView2PermissionState = 
Public Enum CoreWebView2PermissionState
Inheritance
CoreWebView2PermissionState

Fields

Name Value Description
Default 0

Specifies that the default browser behavior is used, which normally prompt users for decision.

Allow 1

Specifies that the permission request is granted.

Deny 2

Specifies that the permission request is denied.

Applies to