次の方法で共有


interface ICoreWebView2PermissionSettingCollectionView

Note

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

interface ICoreWebView2PermissionSettingCollectionView
  : public IUnknown

Read-only collection of PermissionSettings (origin, kind, and state).

Summary

Members Descriptions
get_Count The number of ICoreWebView2PermissionSettings in the collection.
GetValueAtIndex Gets the ICoreWebView2PermissionSetting at the specified index.

Used to list the nondefault permission settings on the profile that are persisted across sessions.

Applies to

Product Introduced
WebView2 Win32 N/A
WebView2 Win32 Prerelease 1.0.1671

Members

get_Count

The number of ICoreWebView2PermissionSettings in the collection.

public HRESULT get_Count(UINT32 * value)

GetValueAtIndex

Gets the ICoreWebView2PermissionSetting at the specified index.

public HRESULT GetValueAtIndex(UINT32 index, ICoreWebView2PermissionSetting ** permissionSetting)