Compartir a través de


interface ICoreWebView2PermissionSetting

Note

This reference is no longer being maintained. For the latest API reference, see WebView2 API Reference.

interface ICoreWebView2PermissionSetting
  : public IUnknown

Provides a set of properties for a permission setting.

Summary

Members Descriptions
get_PermissionKind The kind of the permission setting.
get_PermissionOrigin The origin of the permission setting.
get_PermissionState The state of the permission setting.

Applies to

Product Introduced
WebView2 Win32 N/A
WebView2 Win32 Prerelease 1.0.1671

Members

get_PermissionKind

The kind of the permission setting.

public HRESULT get_PermissionKind(COREWEBVIEW2_PERMISSION_KIND * value)

See COREWEBVIEW2_PERMISSION_KIND for more details.

get_PermissionOrigin

The origin of the permission setting.

public HRESULT get_PermissionOrigin(LPWSTR * value)

get_PermissionState

The state of the permission setting.

public HRESULT get_PermissionState(COREWEBVIEW2_PERMISSION_STATE * value)